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 62682 - problem with auto-preview/use of new font settings in control-center
problem with auto-preview/use of new font settings in control-center
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: [obsolete] theme-manager
1.4.0
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2001-10-19 23:47 UTC by Simos Xenitellis
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Simos Xenitellis 2001-10-19 23:47:54 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.
Comment 1 Simos Xenitellis 2001-12-26 17:05:17 UTC
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.
Comment 2 Christian Marillat 2001-12-26 17:16:07 UTC
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);
Comment 3 Simos Xenitellis 2001-12-26 18:29:10 UTC
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.
Comment 4 Kjartan Maraas 2002-01-05 15:56:31 UTC
I think this should go in the 1.4.x branch too, I'll commit it if
noone hollers.
Comment 5 Kjartan Maraas 2002-01-20 19:10:53 UTC
Commited to control-center-1-0 branch.
Comment 6 Luis Villa 2002-01-24 18:01:49 UTC
If committed, I'm assuming it also fixes. Kjartan, please reopen
otherwise.
Comment 7 Luis Villa 2002-01-24 18:35:40 UTC
Just doing some tagging of files I've already triaged. Filter on 'luis doing
GNOME2 work' to get rid of the spam.