GNOME Bugzilla – Bug 62682
problem with auto-preview/use of new font settings in control-center
Last modified: 2004-12-22 21:47:04 UTC
Short description: The Control Center allows to change the font used in GNOME applications. This does not work in specific locales like el_GR, ru_RU, tr_TR. However, it works with C, es_ES, fr_FR, it_IT, zh_TW and so on. For more information, check the gnome-i18n archives, 1) http://lists.gnome.org/archives/gnome-i18n/2001-October/msg00134.html 2) http://lists.gnome.org/archives/gnome-i18n/2001-October/msg00142.html 3) http://lists.gnome.org/archives/gnome-i18n/2001-October/msg00143.html In (3) you can find a workaround. It is possible that this is a gtk+ bug.
It is possible that this bug is related to bug# 66556 http://bugzilla.gnome.org/show_bug.cgi?id=66556 The problem described in 66556 is that in specific locales, in $HOME/.gtkrc, there is === style "user-font" { font="blah blah" } === In those buggy locales, it should be "fontset" instead of "font" (that is "fontset="blah blah"). I tried to manually fix to "fontset" and the font setting was honored for iso-8859-7.
Here is the patch against 1.4.0.1 to fix this bug : --- capplets/theme-switcher/lister.c.orig Thu Dec 20 00:01:33 2001 +++ capplets/theme-switcher/lister.c Thu Dec 20 00:02:40 2001 @@ -102,7 +102,7 @@ fprintf(fout, MARK_STRING); fprintf(fout, "include \"%s\"\n\n", theme); if (font) - fprintf(fout, "style \"user-font\"\n{\n font=\"%s\"\n}\nwidget_class \"*\" style \"user-font\"\n\n", font); + fprintf(fout, "style \"user-font\"\n{\n fontset =\"%s\"\n}\nwidget_class \"*\" style \"user-font\"\n\n", font); fprintf(fout, homedir); g_free (homedir); fprintf(fout, MARK_STRING);
I believe that the mentioned patch should go into control-center-plus as soon as possible. Can you apply it to control-center-plus? I could also post an e-mail to gnome-i18n to get awareness.
I think this should go in the 1.4.x branch too, I'll commit it if noone hollers.
Commited to control-center-1-0 branch.
If committed, I'm assuming it also fixes. Kjartan, please reopen otherwise.
Just doing some tagging of files I've already triaged. Filter on 'luis doing GNOME2 work' to get rid of the spam.