[Fontconfig] Strange font mixup.
Keith Packard
keithp at keithp.com
Tue May 27 03:54:00 EST 2003
Around 19 o'clock on May 24, Jonathan Brandmeyer wrote:
> 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.
Fontconfig may have extracted inaccurate information about this font; you
can check that with the 'fc-list' program:
$ fc-list 'Courier 10 Pitch' family style weight slant
The output should be:
Courier 10 Pitch:style=Bold Italic:slant=100:weight=200
Courier 10 Pitch:style=Italic:slant=100:weight=80
Courier 10 Pitch:style=Regular:slant=0:weight=80
Courier 10 Pitch:style=Bold:slant=0:weight=200
If you aren't seeing 'slant=100' for the italic versions, then fontconfig
is misdetecting these fonts. Fontconfig had problems correctly
identifying Type1 fonts which have been fixed in current CVS (at least,
that's what generated the output above).
-keith
More information about the Fontconfig
mailing list