[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, 12 Mar 2013 19:08:02 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, Mar 08, 2013 at 09:26:09PM +0100, Werner LEMBERG wrote:
> >> 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.
>
> Should be fixed now in git, please test. Since embedded bitmaps can
> only happen in an SFNT, parsing the glyph charstrings is not necessary
> because the `hmtx' table is mandatory.
I just tested with master now and the issue seems to be fixed for the
fonts I had problem with. Thanks.
Regards,
Khaled