PDF Extension and CFDOCUMENT

Hello,
I have a problem with PDF Expension 1.0.0.94 and other versions higher than 1.0.0.80
If I update PDF extension to a version higher than 1.0.0.80, in PDFs created with CFDOCUMENT the margins set in the tag <cfdocument format = “pdf” fontembed = “yes” pagetype = “A4” orientation = “portrait” marginBottom = “1.0” marginTop = “1.0” unit = “cm”> are ignored (happens even if I set them in inches).
Only solution to avoid this I had to downgrade from 1.0.0.94 to 1.0.0.80 (all versions after this ignore the margins)

Lucee 5.3.7.48
Apache Tomcat/9.0.31
11.0.6 (AdoptOpenJDK) 64bit
Linux (3.10.0-1062.18.1.el7.x86_64) 64bit

Tanks

@Michele_Scaletta Already has a ticket for the issue LDEV-3240 cfdocument - margin doesn’t work properly with orientation.

Use orientation attribute after the margin attributes like this.
<cfdocument format = “pdf” fontembed = “yes” pagetype = “A4” marginBottom = “1.0” marginTop = “1.0” unit = “cm” orientation = “portrait”>

I hope It will work.