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

nvsoar nvsoar at charter.net
Mon Jun 29 17:12:21 EDT 2020


On 06/29/20 03:31, Yves-Eric Martin wrote:
> 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
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

If having the blank page really bothers you take a look at PDFTK (pdf 
tool kit) - does a good job manipulating pages of pdf documents.  All 
the best - nvsoar



More information about the gnucash-user mailing list