[ 
https://issues.apache.org/jira/browse/PDFBOX-4380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16689698#comment-16689698
 ] 

Tilman Hausherr commented on PDFBOX-4380:
-----------------------------------------

The problem is the transparency. 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to