[Fontconfig] Re: most fonts don't support English anymore???

Mike FABIAN mfabian at suse.de
Fri Feb 10 05:11:43 PST 2006

Patrick Lam <plam at MIT.EDU> さんは書きました:

> Mike FABIAN wrote:
>> No, these fonts definitely do *not* have the Euro symbol.
>> I have 2 versions of "Bitstream Charter" on my system, one
>> is coming with Xorg, the other with Ghostscript:
> Here's my Bitstream Charter fonts:
> -rw-r--r-- 1 root root 33799 2006-01-14 20:31
> /usr/X11R6/lib/X11/fonts/Type1/c0632bt_.pfb
> -rw-r--r-- 1 root root 34869 2006-01-14 20:31
> /usr/X11R6/lib/X11/fonts/Type1/c0648bt_.pfb
> -rw-r--r-- 1 root root 35229 2006-01-14 20:31
> /usr/X11R6/lib/X11/fonts/Type1/c0633bt_.pfb
> -rw-r--r-- 1 root root 35118 2006-01-14 20:31
> /usr/X11R6/lib/X11/fonts/Type1/c0649bt_.pfb
> I thought that they had Euro because I loaded it in gucharmap and it
> showed an Euro symbol, but it must just be getting it from Sans or
> something sneaky like that.

gucharmap is a GTK2 program and these are always searching for
fallback fonts for every single glyph which cannot be displayed yet
with the fonts already loaded. This is a very nice and useful feature
because one almost never sees missing characters.

But of course this makes gucharmap useless for checking whether a
certain font has an Euro or not. If you grep for fonts in
/proc/{pid}/maps for the pid of gucharmap, you will see that
gucharmap loaded several fonts and not only "Bitstream Charter".

For checking whether a font has a certain glyph I currently often use
"xfd -fa" but then one also has to make sure that the correct font has
really been opened (for example with FC_DEBUG).

Another good way for checking is using a font editor like "fontforge".

Mike FABIAN   <mfabian at suse.de>   http://www.suse.de/~mfabian

More information about the Fontconfig mailing list