cfdocumentitem header take a lot of space in extension 1.0.0.96

Description

Found a new bug in PDF Extension 1.0.0.96.
Today I suddenly realized that my PDF report was not looking good, the header portion toke too much space. After running the same code in extension 1.0.0.80 and 1.0.0.96, I could see the difference right away.
My environment:
Lucee 5.3.7.48.

Code:

<cfdocument format="pdf" orientation="portrait" marginLeft="0.25" marginRight="0.25" marginBottom=".25" marginTop=".25" localUrl = "yes"> <cfdocumentitem type="header"> Report Header </cfdocumentitem> HELLO WORLD </cfdocument>

If I run the code with PDF Extension 1.0.0.80, here is what I got (which is expected):

If I run the code with PDF Extension 1.0.0.96, here is what I got:

Environment

PDF Extension 1.0.0.96

Attachments

2
  • 05 May 2021, 03:38 am
  • 05 May 2021, 03:36 am

is caused by

Activity

Show:

George Meng 5 May 2021 at 11:39

Got it, yes, I could update code to go with the workaround solution.

Thank you for the quick update! Please close.

Pothys - MitrahSoft 5 May 2021 at 10:21
Edited

https://luceeserver.atlassian.net/browse/LDEV-2528 causes the issue. Already have a ticket for this same issue https://luceeserver.atlassian.net/browse/LDEV-3240 and there is a workaround in the description.

So shall I close this ticket as a duplicate?

George Meng 5 May 2021 at 04:03

Just realized that the footer also took a lot of space, please take a look at if you could reproduce that, if not, I could provide sample code. Just simple footer would take quite a lot of spaces.

<cfdocumentitem type="footer"> Report Footer </cfdocumentitem>
Duplicate

Details

Assignee

Reporter

Priority

Labels

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 5 May 2021 at 03:38
Updated 5 May 2021 at 14:32
Resolved 5 May 2021 at 14:32

Flag notifications