I was happily used fontconfig-2.1.92. After I upgrade it to
2.2, I could not use 'Screen' font with GTK2 application.
I mean if I add next line to ~/.gtkrc-2.0,
gtk-font-name = "Screen,Baekmuk Gulim 16"
I cannot see English characters. I use ko_KR.UTF-8 locale.
I compared new fonts.cache-1 with the one created by 2.1.92.
And found 'spacing=100' is the problem. If I do 's/spacing=100://g'
for new fonts.cache-1, I can see English characters.
Using fonts.cache-1 created by fontconfig-2.2.0 with fontconfig-2.1.92, no problem.
I've got the 'Screen' font (sgi-fonts.tar.gz) from:
And installed bdf files to ~/.fonts/misc.
And 'Baekmuk Gulim' is in ttfonts-ko RPM package from redhat.
If I changed the fontconfig-2.2 to not include
'spacing', no problem.
The FreeType BDF font loader doesn't set the max_advance_width value in loaded
fonts. This makes the fixed-width font handling code in Xft unable to load the
Convert these fonts to .pcf files with bdftopcf and move the .bdf versions out
of the way. That will use the PCF FreeType font loader which works correctly.