[
https://issues.apache.org/jira/browse/PDFBOX-2495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14265974#comment-14265974
]
Andreas Lehmkühler commented on PDFBOX-2495:
--------------------------------------------
All fonts have at least a default font matrix value in its Top DICT after
parsing. Therefore the new if clause added in
[r1649739|https://svn.apache.org/r1649739] is always false, so that the font
matrix of the Top DICT is used in any case.
> Black shapes in the background of some rendered pages of some PDFs
> ------------------------------------------------------------------
>
> Key: PDFBOX-2495
> URL: https://issues.apache.org/jira/browse/PDFBOX-2495
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.0
> Reporter: Hisham Said
> Assignee: John Hewson
> Fix For: 2.0.0
>
> Attachments: black-pages-sample.pdf, black-pages-sample1.jpg,
> black-pages-sample2.jpg, black-pages-sample3.jpg, black-pages-sample4.jpg,
> black-pages-sample5.jpg
>
>
> Rendering the sample PDF attached to images results in black shapes in the
> background of some rendered pages as appearing in the attached sample images
> (1-4), page 5 is rendered properly.
> The images attached were generated using
> {{java -jar pdfbox-app-2.0.0-SNAPSHOT.jar PDFToImage black-pages-sample.pdf}}
> against the latest codebase on the trunk as of today (2014-11-11 at 11:15 AM
> GMT).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)