Closed tresf closed 7 months ago
Quoting @akberenz:
For the mac pdf cutoff - It looks like its something with the
STROKE_CONTROL
rendering hint we set it to_PURE
but the side lines only show up if its set to_DEFAULT
or_NORMALIZE
[however] if i set that rendering hint it cuts off the top & bottom border lines instead
@tresf originally wrote:
Printing the PDF using PDFBOX command line does NOT reproduce the issue:
As @akberenz points out, this isn't true, quoting:
I tried pdfbox from the cmd line and it gave the same result..
I've emailed the pdfbox mailing list about this. It's also worth mentioning that this document was created using Apache FOP Version 2.3; modified using iText® 5.5.6 ©2000-2015 iText Group NV
Preliminary patch: apache/pdfbox@2.0...AlexanderScherbatiy:pdfbox:PDFBOX-5715
Patch merged to PDFBOX here: https://github.com/apache/pdfbox/commit/73f2fff550ada9db999f7f22dca781782c5fb5bc; available since PDFBOX 2.0.31, 3.0.2, 4.0.0
On MacOS (various versions), the right side of this PDF is slightly cut off when printing.
A workaround is to force
rasterize: true
, but this is not desired for performance and quality reasons.Printing the PDF using PDFBOX command line does NOT reproduce the issue: