[GNC] "Make PDF" button just prints

john jralls at ceridwen.us
Tue Jan 16 23:36:42 EST 2024


No. Gtk does its own drawing at a very low level using a library called Cairo. Cairo gets a buffer from the OS and puts a bitmap in it and the OS displays the bitmap. A PDF created from the bitmap would be a screenshot, not the complete document.

Regards,
John Ralls

> On Jan 16, 2024, at 17:44, Adrien Monteleone <adrien.monteleone at lusfiber.net> wrote:
> 
> If Win7 is still supported by GnuCash as a target, then I can see keeping it, but Win10+ has had Print to PDF built-in by default.
> 
> Would it be possible to change the button to 'print' to that device on any OS directly, bypassing Webkit for that purpose?
> 
> Regards,
> Adrien
> 
> On 1/16/24 2:06 PM, Geert Janssens wrote:
>> On Windows it still effectively creates a pdf as far as I know (as the version of WebKit used
>> on Windows still allows for it).
> 
> _______________________________________________
> 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
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.



More information about the gnucash-user mailing list