View | Details | Raw Unified | Return to bug 137145
Collapse All | Expand All

(-)fontconfig-2.3.92.20051206.orig/src/fcfreetype.c (-7 / +2 lines)
Lines 1555-1571 Link Here
1555
    }
1555
    }
1556
#endif
1556
#endif
1557
1557
1558
#if 0
1559
    /*
1558
    /*
1560
     * Skip over PCF fonts that have no encoded characters; they're
1559
     * Skip over fonts that have no encoded characters; they're
1561
     * usually just Unicode fonts transcoded to some legacy encoding
1560
     * usually just bitmap Unicode fonts transcoded to some legacy encoding
1562
     */
1561
     */
1563
    if (FcCharSetCount (cs) == 0)
1562
    if (FcCharSetCount (cs) == 0)
1564
    {
1565
	if (!strcmp(FT_MODULE_CLASS(&face->driver->root)->module_name, "pcf"))
1566
	    goto bail2;
1563
	    goto bail2;
1567
    }
1568
#endif
1569
1564
1570
    if (!FcPatternAddCharSet (pat, FC_CHARSET, cs))
1565
    if (!FcPatternAddCharSet (pat, FC_CHARSET, cs))
1571
	goto bail2;
1566
	goto bail2;

Return to bug 137145