GNOME Bugzilla – Bug 579621
Store webkit preferences in gconf
Last modified: 2018-06-29 22:20:41 UTC
Now that the report system has been changed to use webkit, it would be useful to store some of the webkit preferences in gconf. The soon to be attached patch does this. This patch uses the libgconf-bridge library to connect some of the webkit attributes to gconf keys. This adds yet another dependence to Gnucash. This library is not included in all distributions and is a bit hard to find if you don't already have it. Since it consists of only one .c and one .h file it might be better to include these directly in Gnucash if that's legal.
Created attachment 132963 [details] [review] Patch to store webkit attributes in gconf This patch just syncs webkit prefs with gconf. It does not add anything to the GNucash preferences dialog to set these preferences. You can set them using gconftool or the equivalent and the webkit invocation from Gnucash will use them.
Mike, for 2.3.3 I have added a new report stylesheet which puts font info into the report <style> tag as css stuff. This allows different styles for different reports, has a UI, and is more general than your patch. It doesn't handle invoices yet, though. I'll try to handle that soon.
Invoices also use stylesheets, so the new CSS stylesheet handles invoices as well.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=579621. Please update any external references or bookmarks.