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 655002 - GtkHTML still gets font settings from GConf
GtkHTML still gets font settings from GConf
Status: RESOLVED FIXED
Product: GtkHtml
Classification: Other
Component: Rendering
4.0.x
Other Linux
: Normal normal
: ---
Assigned To: gtkhtml-maintainers
gtkhtml-maintainers
: 651845 (view as bug list)
Depends on:
Blocks: 622558
 
 
Reported: 2011-07-20 20:22 UTC by Michael Meeks
Modified: 2011-08-22 13:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
a picture - note the tiny font in the mail preview pain (327.18 KB, image/png)
2011-07-21 08:52 UTC, Michael Meeks
Details

Description Michael Meeks 2011-07-20 20:22:06 UTC
Evolution's preview mail rendering font acts extremely oddly in 2.30. It seems not to follow the system font settings (from gnome-tweak-tool).

I have the composer settings / font size set to use system defaults, and the system defaults are sane; most odd.
Comment 1 André Klapper 2011-07-21 01:24:29 UTC
Normally 2.30 reports are directly closed as OBSOLETE...
Comment 2 Michael Meeks 2011-07-21 08:48:03 UTC
I'm sorry - this is a 3.0 report - but my brain was going slow (prolly eye strain from broken fonts ;-)
Comment 3 Michael Meeks 2011-07-21 08:52:10 UTC
Created attachment 192361 [details]
a picture - note the tiny font in the mail preview pain
Comment 4 Michael Meeks 2011-07-21 12:28:11 UTC
Hah it seems the font comes from gconf:

gtkhtml/gtkhtml.c:              fixed_name = gconf_client_get_string (gconf, "/desktop/gnome/interface/monospace_font_name", NULL);

which is not what gnome-tweak-tool is changing, and of course the old gnome-appearance-capplet is not there to provide a UI for this either.

I managed to work around it with gconf-editor in the end; thanks.
Comment 5 André Klapper 2011-07-21 13:37:39 UTC
Well, EVERYTHING around evo still uses gconf instead of GSettings...
Adding dependency.
Comment 6 Matthew Barnes 2011-07-23 03:25:24 UTC
Fixed for GtkHtml 4.1.4 in:

http://git.gnome.org/browse/gtkhtml/commit/?id=454eb1d1005735443d116f829760f226a53653a2
Comment 7 André Klapper 2011-07-24 20:45:17 UTC
@mbarnes: Assuming that you just killed the complete gconf dependency of gtkhtml, there is
   gboolean
   gtk_html_build_with_gconf (void)
   {
   	return TRUE;
   }
in gtkhtml.c/.h - does that still make any sense?
Cannot find any other use when grep'ing gtkhtml, evo and e-d-s...
Comment 8 Matthew Barnes 2011-07-24 21:07:43 UTC
Pointless function, even when it did use GConf, but not really worth breaking the API over.
Comment 9 Milan Crha 2011-08-22 13:34:36 UTC
*** Bug 651845 has been marked as a duplicate of this bug. ***