[ https://issues.apache.org/jira/browse/PDFBOX-4380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16689698#comment-16689698 ]
Tilman Hausherr edited comment on PDFBOX-4380 at 11/16/18 5:29 PM: ------------------------------------------------------------------- The problem here is the transparency, not the /Group (that was the problem in the other issue because there were also XObject forms = transparency groups when /Group is used). To paint a pattern, ARGB images are used, see {{TilingPaint.getImage()}}. I thought about analyzing the image to see whether it is fully transparent, but it might take too long. The internal image is 1191 x 1684. Another problem would be to create a "dummy paint" object. All this because of a PDF with an unneeded pattern. was (Author: tilman): The problem here is the transparency, not the /Group. To paint a pattern, ARGB images are used, see {{TilingPaint.getImage()}}. I thought about analyzing the image to see whether it is fully transparent, but it might take too long. The internal image is 1191 x 1684. Another problem would be to create a "dummy paint" object. All this because of a PDF with an unneeded pattern. > PDF will only print rasterized on Windows > ----------------------------------------- > > Key: PDFBOX-4380 > URL: https://issues.apache.org/jira/browse/PDFBOX-4380 > Project: PDFBox > Issue Type: Bug > Components: Rendering > Affects Versions: 2.0.12 > Environment: Windows 10 Pro x64 > macOS 10.14 > Reporter: Tres Finocchiaro > Priority: Major > Attachments: AWB_BM82266397503_unc.pdf, Screen Shot 2018-11-15 at > 9.30.16 PM.png, Screen Shot 2018-11-15 at 9.30.32 PM.png, printpdf.pdf > > > Near identical symptoms to PDFBOX-4123, but only on Windows. > [This PDF|https://github.com/qzind/tray/files/2587736/AWB_BM82266397503.pdf] > will only print rasterized. It looks fine in Adobe Reader, but once printed > using PDFBOX, it will always print rasterized. > PDF was created using Python weasyprint. > Like PDFBOX-4123, I found a Transparency block inspecting the PDF raw > contents. However the workaround provided in PDFBOX-4123 does not remedy the > situation. Furthermore, the behavior is inconsistent between macOS and > Windows. > * Windows testing was performed using Java 8u191 and PDFCreator. Same > behavior with Microsoft Print to PDF. > * macOS testing was performed using Java 8u181 and Lisanet PDFwriter. > Attachments: > * Screen Shot 2018-11-15 at 9.30.16 PM.png - Actual results > * Screen Shot 2018-11-15 at 9.30.32 PM.png - Desired results -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org