|Summary:||Cannot see english character using Screen font.|
|Component:||library||Assignee:||Keith Packard <keithp>|
|Status:||RESOLVED INVALID||QA Contact:|
|i915 platform:||i915 features:|
Description namsh 2003-04-23 23:29:05 UTC
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: www.pl.freebsd.org/ports/x11-fonts.html 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.
Comment 1 Keith Packard 2003-05-02 08:35:09 UTC
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 glyphs properly. 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.