After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 455407 - Fonts in invoices not related to any other font settings, details can be lost on invoice
Fonts in invoices not related to any other font settings, details can be lost...
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Reports
2.1.x
Other All
: Normal normal
: ---
Assigned To: Chris Lyttle
Chris Lyttle
: 584554 (view as bug list)
Depends on: 580243
Blocks:
 
 
Reported: 2007-07-10 03:54 UTC by leigh
Modified: 2018-06-29 21:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description leigh 2007-07-10 03:54:21 UTC
Please describe the problem:
When i print an invoice, the fonts that are used are not related to any other font i've configured with my gnome and/or gnucash applications.

This is a symptom of the inability of the gnome project to form a cohesive desktop appearance.

Performing a stack trace and looking at the code in gnucash i can see that gnucash uses libgtkhtml to produce these invoices but there are no parameters passed to it regarding what fonts it should use, so libgtkhtml falls back to what is #defined which is a 12 point font.

It may even be possible that you cannot pass a font specification to libgtkhtml.


Steps to reproduce:
1. Create an invoice
2. Print it
3. look at invoice


Actual results:
I get an invoice with 2 pages when i only have a couple of items, the second page is the last column of text

Expected results:
It should work like any decent application in a solid desktop expirience and allow me to either configure the fonts or use an existing configured font (maybe from the check book font?)

Does this happen every time?
Yes.

Other information:
This bug has been around since the early gnucash issues
Comment 1 leigh 2007-07-10 04:08:32 UTC
From gtkhtml3.8-3.12.3 source

gtkhtml-properties.c:#define DEFAULT_FONT_SIZE   10
gtkhtml-properties.c:#define DEFAULT_FONT_SIZE_PRINT   10
Comment 2 leigh 2007-07-10 04:18:48 UTC
Additionally font types are not respected
Comment 3 Christian Stimming 2007-07-10 10:06:38 UTC
Duplicate of bug#350408?
Comment 4 Phil Longstaff 2009-04-25 21:54:51 UTC
With webkit html engine for 2.4, as long as we supply a ui to specify fonts to put into css, this will be handled.
Comment 5 Phil Longstaff 2009-07-13 17:51:31 UTC
For 2.3.3, there will be a new stylesheet called stylesheet-css which will allow you to specify the fonts for reports.  I haven't looked to see what would be needed for invoices.
Comment 6 Phil Longstaff 2009-07-13 23:23:24 UTC
It looks as though stylesheets also apply to invoices, so some strings can have their font controlled.
Comment 7 Phil Longstaff 2009-07-14 17:56:27 UTC
*** Bug 584554 has been marked as a duplicate of this bug. ***
Comment 8 John Ralls 2018-06-29 21:42:17 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=455407. Please update any external references or bookmarks.