Red Hat Bugzilla – Bug 62413
Font setting have no effect on some locales
Last modified: 2007-04-18 12:41:29 EDT
Description of Problem:
Font setting have no effect on some locales. Neither from gnomecc (which doesn't
even preview though it allows changing the font) not from gtkrcs.
XMMS isn't affected (has its own font dialogs anyway) and font selectors work ok.
The problem is hard to go around since a lot of applications that should have
the settings are started from the panel.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. export locales
3. observe default font and/or try to change it
No font change if using some locales, some do work.
The font entered in dialog to be used in Gtk all around =)
The locale setting I've had:
If locales are all changed to fi_FI.utf8@euro, the fonts work but a lot of other
things (screen, irssi, terminals, console, man..) break. Leaving unset also works.
I'm not sure these locale settings make sense; if you want
a ISO-8859-15 locale with finish locale settings and
english messages, I'd expect:
The encoding (utf8 vs. the default) shouldn't make any
difference for anything but CTYPE.
Anyways, this is probably basically unrelated to your
The reason that font
settings aren't working through the control center is that
the /etc/gtk/gtkrc.iso885915 file sets a fontset, not a
font, and this overrides the 'font' set by the control center.
This is a known defect, that is reather hard to fix. GTK+-2.0
eliminates the problem entirely, and the need for the user
to worry about font encodings.
If you edit your .gtkrc manaully and change font= to fontset=
the setting should take affect.
control-center-18.104.22.168-30 writes fontset=, not font= and should fix