[ https://issues.apache.org/jira/browse/PDFBOX-4627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17909591#comment-17909591 ]
ASF subversion and git services commented on PDFBOX-4627: --------------------------------------------------------- Commit 1922860 from Tilman Hausherr in branch 'pdfbox/branches/3.0' [ https://svn.apache.org/r1922860 ] PDFBOX-4627, PDFBOX-5054: add javadoc > 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 > Assignee: Tilman Hausherr > Priority: Major > Labels: tilingpattern > Fix For: 2.0.33, 3.0.4 PDFBox, 4.0.0 > > 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.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org