Cfdocument pdf different size after lucee update

#1

Development machine Windows 10 with Lucee, was version 5.2.9.31 now upgraded to 5.3.1.102
When the PDF is generated it’s much bigger and won’t fit in the window therefore cannot be printed correctly.
Any suggestions where I would look next ?
Thanks

0 Likes

#2

Hi,

The PDF extension has been updated to use a new rendering engine called Flying Saucer.

I believe that you can re-enable the old render using a flag in your application.cfc:
this.pdf.type = "classic";

0 Likes

#3

thank you for that I try now

0 Likes

#4

I’m using Application.cfm and trying to add:
cfapplication pdf="#{type:classic}#" as per the video above and getting an error:
Attribute pdf is not allowed for cfapplication
Any ideas ?

0 Likes

#5

Any help with this would be greatly appreciated thanks

0 Likes

#6

bug filed https://luceeserver.atlassian.net/browse/LDEV-2212

in the meantime, you can try the application.cfc style as a workaround

0 Likes