[GNC] Potential regression: PDFs generated using "Make PDF" have a superfluous blank page

Yves-Eric Martin yem_lists.gnucash.org at filter.yve.net
Mon Jun 29 06:31:26 EDT 2020


Hi all,

(Full bug report below)

I am having a PDF issue trying to upgrade from 3.7 to 4.0, but traced the
problem back to 3.8. The invoice PDFs generated using "Make PDF" have a
superfluous blank page. I first thought the problem may be with my heavily
customized CSS, but I was able to reproduce the issue with the
vanilla invoices (Easy / Printable / Fancy).

Any idea what introduced this change? Is a fix needed?

And short of manually editing the PDFs, is there a workaround to remove
that extra blank page on the GnuCash side, maybe editing some SCM files?
Thank you.


Full bug report:

GnuCash versions: tested all stable from 3.5 to 4.0

OS: MacOS Catalina (10.15.5)

Problem: Invoice PDFs generated using "Make PDF" have a superfluous blank
page.

Versions not affected: 3.5, 3.6, 3.7

Versions affected: 3.8, 3.9, 3.10, 3.11, 4.0

Steps to reproduce:
1) Create a dummy invoice with a single line
2) Create an Easy Invoice: Reports > Business > Easy Invoice
3) Select the dummy invoice: Edit > Report Options > General > Invoice
Number > Select the dummy invoice
4) Make Pdf

Expected behavior: The generated PDF has only 1 page.

Current behavior (since 3.8): The generated PDF has a superfluous blank
page.

Comparison of various invoice PDFs, generated with 3.7 and 3.8:
https://www.dropbox.com/sh/h8hwhy43uiz9c8m/AADslcR3uJtfXy5Q7GTn6FqVa?dl=0


More information about the gnucash-user mailing list