Does anybody know to how many decimal places the margins are supported when I create a PDF using CFDOCUMENT?
I have the PDF extension version 1.2.0.10
Thanks.
OS : Windows Server 2022
Java Version : 21.0.6 (Eclipse Adoptium) 64bit
Tomcat Version : Apache Tomcat/10.1.36
Lucee Version : 6.2.1.122
Does anybody know what Lucee uses for the PDF generation? Is it flying saucer?
I believe so. The Github repo looks like Flying Saucer and an old version of PDFBox, among other deps.
Thanks @tonyjunkes I’ll assume that it has the same capabilities.
I actually ended up with a mashup of changing the doc4j settings for the DOCX to match part of the PDF, and then some of the PDF settings to match the DOCX. I would not recommend trying to exactly match a DOCX to a PDF, quite the nightmare.
It seems that there are very, very small differences in spacing between characters in the same font due to the rendering engines that ultimately add up and drop or keep words on lines in one doc vs the other.