http://bugs.freedesktop.org/show_bug.cgi?id=24613


Behdad Esfahbod <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]




--- Comment #3 from Behdad Esfahbod <[email protected]>  2009-10-21 
15:53:40 PST ---
Reading the comment before that block of code suggests that the code is correct
in its current form:

    /*
     * Skip over PCF fonts that have no encoded characters; they're
     * usually just Unicode fonts transcoded to some legacy encoding
     * FT forces us to approximate whether a font is a PCF font
     * or not by whether it has any BDF properties.  Try PIXEL_SIZE;
     * I don't know how to get a list of BDF properties on the font. -PL
     */
    if (FcCharSetCount (cs) == 0)
    {
#if HAVE_FT_GET_BDF_PROPERTY
        if(FT_Get_BDF_Property(face, "PIXEL_SIZE", &prop) == 0)
            goto bail2;
#endif
    }


Indeed, in the pattern you got after modifying that line, you see that charset
is empty, that is, fontconfig could not recognize any character in the font and
hence the face is useless.  That's why fontconfig skips it.  Sounds like
NOTABUG to me.  What kind of font is this?


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Fedora-fonts-bugs-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list

Reply via email to