You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2021/10/19 17:45:00 UTC
[jira] [Created] (PDFBOX-5296) Rendering error for file with
softmask outside bounds
Tilman Hausherr created PDFBOX-5296:
---------------------------------------
Summary: Rendering error for file with softmask outside bounds
Key: PDFBOX-5296
URL: https://issues.apache.org/jira/browse/PDFBOX-5296
Project: PDFBox
Issue Type: Bug
Components: Rendering
Affects Versions: 2.0.24
Reporter: Tilman Hausherr
Attachments: gs-bugzilla690816.pdf, gs-bugzilla690816.pdf-1-bad.png, gs-bugzilla690816.pdf-1-good.png
Follow-up of PDFBOX-3000. The attached file doesn't render correctly. I don't know if we ever get this fixed, but here's what I know.
In both cases the softmask is outside of the page bounds. The two softmasks are here:
{noformat}
Root/Pages/Kids/[0]/Resources/XObject/Fm21/Resources/ExtGState/GS0/SMask
Root/Pages/Kids/[0]/Resources/ExtGState/GS29/SMask
{noformat}
returning {{Color(0, 0, 0, 0)}} (full transparency) in {{PageDrawer.applySoftMaskToPaint()}} instead of the {{parentPaint}} (which is a {{TexturePaint}}) brings a correct rendering. However this would break almost all other renderings with a softmask outside of bounds, e.g. PDFJS-7992.pdf, PDFBOX-2103.pdf, 007087-payment-due-p58.pdf and many more - ask if you're working on this. The softmask is in CMYK and there is a backdrop.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org