[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: |
Tue, 5 Mar 2013 15:35:50 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Sun, Mar 03, 2013 at 05:40:03PM +0200, Khaled Hosny wrote:
> 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.
Any insights on this?
Regards,
Khaled