>> I just found that FT_Get_Advance() with FT_LOAD_NO_HINTING flag
>> gives 0 for CFF fonts with embedded bitmaps (EBDT, EBLC) but I'm
>> not sure if this is a bug or a feature.
> 
> After digging a bit, this seems like a bug to me, the #ifdef block
> starting from 2626 in src/cff/cffgload.c never sets
> linearHorizAdvance/linearVertAdvance if bitmaps are found, unlike
> the equivalent code in src/truetype/ttgload.c.

Yes, it's a bug.  Will have a look how to fix this gracefully, this
is, without completely parsing the glyph charstrings.

> Let me know if test fonts are needed.

I think I have a CFF within an SFNT wrapper which contains embedded
bitmaps, thanks.


    Werner

_______________________________________________
Freetype mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to