Bug#244270: libgtk2.0-0: some utf-8 locales results in font problems

Thorben Jändling Thorben Jändling , 244270@bugs.debian.org
Sat, 17 Apr 2004 18:39:31 +0100


Package: libgtk2.0-0
Version: 2.2.4-2
Severity: important

i use both en_GB.UTF-8 and cy_GB.UTF-8 (welsh)
in the first all is fine, namely fonts are what you expect and are
readable.
in the second (cy_GB.UTF-8) they are not. gtk seems to start
using some strange, barely readable font.
I have tried to fix this, by
-editing the various $HOME gtkrc files (they all seem to be ignored)
-changed the sym link in /etc/gtk (which pointed to iso8859-14 :-/
-played with look at other files, like pangos and deforma
  either didn't understand them enough to make a change or no effect
-google search, found similar problems, no real fix
  often for people using russian locales?

hacks that seem to fix this:
1) start gnome-settings-deamon, and use gnome control center
to change font, i'm a KDE (which has no problems with this locale)
user and like many other kde users i dont like this deamon running especially
since it make all the kde font Big and so ugly. (i not only one to think
this of gnome-setting-daemon in kde)

2)
export LANG=en_GB.UTF-8
export LC_MESSAGES=cy_GB.UTF-8

fonts are fine, and programs are in welsh but this not a real fix.

To add cy_GB.UTF-8 to debian, since it dont seem to know about
it in the first place, I:
-added it to /usr/share/i18n/SUPPORTED
-ran dpkg-reconfigure locales, and selected it
and all seems well bar this 

i have also edited/added aliases and other such info to file
files in /etc and for X, made no difference to anything before
or after.

gtk is the only thing i see miss behaving.
even gtk via directFB does this (so it not an X issue)

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux excalibur 2.6.5 #1 Tue Apr 6 16:26:40 BST 2004 i686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8

Versions of packages libgtk2.0-0 depends on:
ii  libatk1.0-0                 1.4.1-1      The ATK accessibility toolkit
ii  libc6                       2.3.2.ds1-11 GNU C Library: Shared libraries an
ii  libfontconfig1              2.2.1-8      generic font configuration library
ii  libfreetype6                2.1.5-3      FreeType 2 font engine, shared lib
ii  libglib2.0-0                2.2.3-1      The GLib library of C routines
ii  libgtk2.0-common            2.2.4-2      Common files for the GTK+ graphica
ii  libjpeg62                   6b-9         The Independent JPEG Group's JPEG 
ii  libpango1.0-0               1.2.5-2.1    Layout and rendering of internatio
ii  libpng12-0                  1.2.5.0-4    PNG library - runtime
ii  libtiff3g                   3.5.7-2      Tag Image File Format library
ii  libxft2                     2.1.2-4      FreeType-based font drawing librar
ii  libxrender1                 0.8.3-4      X Rendering Extension client libra
ii  xlibs                       4.2.1-12.1   X Window System client libraries
ii  zlib1g                      1:1.2.1-3    compression library - runtime

-- no debconf information