freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] FT_Get_Advance() and FT_LOAD_NO_HINTING


From: Khaled Hosny
Subject: Re: [ft] FT_Get_Advance() and FT_LOAD_NO_HINTING
Date: Sun, 3 Mar 2013 17:40:03 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Sun, Mar 03, 2013 at 03:56:19PM +0200, Khaled Hosny wrote:
> Hi all,
> 
> 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.

Let me know if test fonts are needed.

Regards,
Khaled



reply via email to

[Prev in Thread] Current Thread [Next in Thread]