[ https://issues.apache.org/jira/browse/PDFBOX-4627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16912331#comment-16912331 ]
Michael Klink commented on PDFBOX-4627: --------------------------------------- {quote}I read PDF Reference fifth edition and I didn't find exactly the sentence mentioned by Michael Klink{quote} I quoted from the PDF specification ISO 32000-1, not the non-normative precursor references. I have to admit, though, that in ISO 32000-2 one detail changed: the *"otherwise, an error occurs"* has been replaced by a *"otherwise, the operator is ignored and processing of the stream continues without error"*. Thus, a PDF-2.0 compliant PDF processor here is expected to act different, more lenient. > 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 (v8.3.2#803003) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org