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

Tres Finocchiaro commented on PDFBOX-5967:
------------------------------------------

Although the original issue is likely to plague others, the reason this is 
occuring in my downstream project is unrelated specifically to PDFBOX.  The 
regression was caused by a downstream workaround to JDK-8057830 that toggled on 
the rasterize option.  Sorry for the false report!

> Printed barcodes are fuzzy on macOS only
> ----------------------------------------
>
>                 Key: PDFBOX-5967
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5967
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.33, 3.0.4 PDFBox
>         Environment: macOS 15.3.1 (Intel and Apple Silicon)
> openjdk 11.0.25, openjdk 23.0.1
>            Reporter: Tres Finocchiaro
>            Priority: Major
>              Labels: macOS, print
>         Attachments: PDFBOX-5967-reduced1.pdf, PDFBOX-5967-reduced1.png, 
> pb_usps_sample.pdf, print_comparison.png
>
>
> The attached PDF prints well on Windows and Linux, but on macOS the barcodes 
> are fuzzy and unscannable. We print a lot of 4x6 labels using pdfbox and 
> CUPS, so I'm not sure what is different about this label. It's created by 
> Pitney Bowes through their shipping API.
>  * I understand that this may be a result of something happening at the 
> OS-level.  If this is the case, any guidance as to how to isolate and provide 
> a bug report for openjdk is greatly appreciated.
>  * If there's a workaround that can be used as a stop-gap leveraging the 
> PDFBOX API, that would also be greatly appreciated.
> *Steps to reproduce:*
>  
>  * *PDFBOX 3.0*
> {{java -jar ~/Downloads/pdfbox-app-2.0.33.jar PrintPDF 
> ~/Downloads/pb_usps_sample.pdf -mediaSize=4x6}}
>  * *PDFBOX 2.0*
> {{java -jar ~/Downloads/pdfbox-app-2.0.33.jar PrintPDF 
> ~/Downloads/pb_usps_sample.pdf}}
>  Tests were performed on physical hardware (Zebra ZD620 using the CUPS ZPL 
> driver) with openjdk 11.0.25 and openjdk 23.0.1.
> [^pb_usps_sample.pdf]
>  
> !print_comparison.png!



--
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

Reply via email to