[ https://issues.apache.org/jira/browse/PDFBOX-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17867312#comment-17867312 ]
Michael Klink commented on PDFBOX-5851: --------------------------------------- {quote}/P12 is a pattern. What's missing here is to set this to a pattern colorspace. The PDF created by the CreatePatterns.java example looks like this: {noformat} 50 500 200 200 re /cs1 cs <==== this is missing /p1 scn f{noformat}{quote} That code is invalid! Between defining the path and painting it no **cs** or **scn** is allowed. > When this PDF is rendered with the "f" Operator, a black screen appears. > ------------------------------------------------------------------------ > > Key: PDFBOX-5851 > URL: https://issues.apache.org/jira/browse/PDFBOX-5851 > Project: PDFBox > Issue Type: Improvement > Components: Rendering > Affects Versions: 2.0.31, 3.0.2 PDFBox > Reporter: liu > Assignee: Tilman Hausherr > Priority: Major > Labels: Pattern > Fix For: 2.0.32, 3.0.3 PDFBox, 4.0.0 > > Attachments: image-2024-07-19-16-58-35-439.png, > image-2024-07-19-16-58-57-515.png, image-2024-07-19-17-41-18-618.png, > image2-scratch_unc.pdf, image2.pdf, screenshot-1.png > > > [^image2.pdf] > !image-2024-07-19-16-58-35-439.png|width=345,height=187! > !image-2024-07-19-16-58-57-515.png|width=214,height=277! -- 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