[
https://issues.apache.org/jira/browse/PDFBOX-5715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr resolved PDFBOX-5715.
-------------------------------------
Assignee: Tilman Hausherr
Resolution: Fixed
Setting to resolved. Big thanks to Alexander Scherbatiy for this change. I
suspect we might also use this in the future to solve the problem of missing
fine lines, maybe as an option of the renderer, or tied to a RenderingIntent,
but for now it's just this.
> Lines vanish when printing on MacOS
> -----------------------------------
>
> Key: PDFBOX-5715
> URL: https://issues.apache.org/jira/browse/PDFBOX-5715
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.30
> Reporter: Tres Finocchiaro
> Assignee: Tilman Hausherr
> Priority: Major
> Labels: print, printing
> Fix For: 2.0.31, 3.0.2 PDFBox, 4.0.0
>
> Attachments: actual.png, desired.png, fop.zip,
> image-2023-11-11-18-55-20-972.png, image-2023-11-11-18-56-24-363.png,
> image-2023-11-11-18-57-39-403.png, line-widths.pdf.zip
>
>
> When printing the
> [border.fo|https://github.com/apache/xmlgraphics-fop/blob/main/fop/examples/fo/basic/border.fo]
> example (converted to PDF from Apache FOP) to a 4x6 printer on a Mac, some
> of the lines vanish.
> * The behavior does not occur on a A4 or US Letter document.
> * The behavior varies slightly depending on rendering hints.
> * The behavior is not reproducible on Linux
> * This problem has been discussed – in part – on the mailing list here:
> [https://lists.apache.org/thread/nb9vsfx2gd8j37mrnlbbj0vqy6wrwt88]
> Attached is a sample project which reproduces this problem:
> [^fop.zip]
> To run the example:
> # Install a PDF printer on the Mac
> # Extract fop.zip and run it using maven:
> {code:java}
> mvn compile && mvn exec:java
> {code}
> Expected:
> !image-2023-11-11-18-57-39-403.png!
> Actual:
> !image-2023-11-11-18-56-24-363.png!
>
> In the field, this issue may be common in scenarios where labels are obtained
> from shipping companies that use Apache FOP for creating the PDFs and are
> then printed using PDFBOX (e.g. PitneyShip). At time of writing this, the
> issue seems to be specific to MacOS.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]