Bug 74 - Cannot see english character using Screen font.
Summary: Cannot see english character using Screen font.
Alias: None
Product: fontconfig
Classification: Unclassified
Component: library (show other bugs)
Version: 2.2
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Keith Packard
QA Contact:
Depends on:
Reported: 2003-04-23 23:29 UTC by namsh
Modified: 2003-05-01 15:35 UTC (History)
0 users

See Also:
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:

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.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.