[Fontconfig] Fontconfig 2.2.2 and Xft 2.1.4 released

Keith Packard keithp at keithp.com
Mon Mar 15 09:43:36 EST 2004


Around 22 o'clock on Mar 14, Adam Sampson wrote:

> ** (xfce-mcs-manager:21817): WARNING **: Cannot open font file for font
> Helvetica Bold 14.3994140625
>
> Is this Xft change likely to be the culprit?
> 
>         * xftfreetype.c: (_XftSetFace), (XftFontInfoFill):
>         Search for closest bitmap size when font provides only bitmaps
>         Use FC_HINT_STYLE only when available

Yes.  What version of FreeType are you using?  They changed the semantics 
of how bitmap instances were labeled which broke some stuff.  It may be 
that we need to look first at y_ppem/x_ppem and then, failing that, look 
at width/height.  I sent in a patch to FreeType to fix the BDF/PCF loaders 
to match the TTF loader, I don't know whether that's in a released version 
or not.

-keith


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20040314/2ab950f0/attachment.pgp


More information about the Fontconfig mailing list