[Fontconfig] Strange font mixup.

Jonathan Brandmeyer fontconfig@fontconfig.org
24 May 2003 19:01:35 -0400

I am trying to troubleshoot a font mixup on my Debian Sid machine.  I am
having trouble with the "Courier 10 Pitch"  font that is in the
xfonts-scalable package.  The following packages are installed:

XFree86 4.2.1-6
xfonts-scalable 4.2.1-6
Fontconfig 2.2.0-2

For some reason, the regular font is itallic, and the bold itallic font
is just bold, as displayed by the KDE font configuration, GNOME2
font-config and Eclipse's internal font configuration.  Evolution 1.2.4
finds the correct fonts (id'ed as bitstream-courier), but they are not
AA, and it uses a different font selection mechanism.  The itallic and
bold versions are just fine.  I have checked the entries in the cache
files and font.dir files, and nothing strange jumps out.  I've also
verified (using Konqueror's built-in font previewing feature) that the
files actually contain the appropriate fonts.

How can I troubleshoot this problem?  If fontconfig isn't responsible
for the mixup, do you have any ideas what would be?


Fontpath: (from `xset q`)
 /home/jonathan/.gnome2/share/cursor-fonts, (MT)
/home/jonathan/.gnome2/share/fonts (MT)

Excerpt from /usr/lib/X11/fonts/Type1/fonts.dir:
c0419bt_.pfb -bitstream-courier-medium-r-normal--0-0-0-0-m-0-iso8859-1
c0582bt_.pfb -bitstream-courier-medium-i-normal--0-0-0-0-m-0-iso8859-1
c0583bt_.pfb -bitstream-courier-bold-r-normal--0-0-0-0-m-0-iso8859-1
c0611bt_.pfb -bitstream-courier-bold-i-normal--0-0-0-0-m-0-iso8859-1

Excerpt from/usr/lib/X11/fonts/Type1/fonts.cache-1 (charset= and lang=
have been snipped):
"c0419bt_.pfb" 0 "Courier 10
"c0582bt_.pfb" 0 "Courier 10
"c0583bt_.pfb" 0 "Courier 10
"c0611bt_.pfb" 0 "Courier 10 Pitch:style=Bold

/usr/lib/X11/fonts/Type1/fonts.scale and fonts.alias do not contain
referances to these fonts.