[
https://issues.apache.org/jira/browse/PDFBOX-4627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16906178#comment-16906178
]
Petr Slaby commented on PDFBOX-4627:
------------------------------------
We use PDFBox to render PDFs. For our customers, Adobe Reader is the only
source of truth. Even if I managed to convince them that the given PDF is not
correct according to the specification, they will not be able to change it. The
PDFs most usually come from a source they do not have an influence on.
I think the argument "but it renders with Adobe Reader" is a valid one. I agree
that it is not possible to be 100% compatible with Adobe reader, but PDBox
should try to head in this direction - much rather than attempting to be 100%
compatible with the norm and trying to punish you for every mistake a PDF
writer software has made.
> Wrong color of uncolored tiling pattern
> ---------------------------------------
>
> Key: PDFBOX-4627
> URL: https://issues.apache.org/jira/browse/PDFBOX-4627
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.16
> Reporter: Jiri Kunhart
> Priority: Major
> Attachments: after_fix.png, before_fix.png,
> uncolored_tiling_pattern.patch, uncolored_tiling_pattern.pdf
>
>
> The attached pdf file with uncolored tiling pattern is rendered wrongly (see
> "before_fix.png"). The problem is that pattern stream contains
> /DevGrayCS cs
> which overwrites PDPattern color space stored in
> PDGraphicsState#nonStrokingColor. I did a small fix which ignores all
> settings of color space inside of uncolored tiling pattern stream and the
> result seems to be good (see "after_fix.png").
> Note: the pattern in the png file looks diferently than in the original pdf
> file, but this should be handled probably in the other issue.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]