[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Freetype 2.8 bitmap font no linear advance
From: |
Alexei Podtelezhnikov |
Subject: |
Re: [ft-devel] Freetype 2.8 bitmap font no linear advance |
Date: |
Tue, 22 Aug 2017 19:25:57 -0400 |
> On Aug 22, 2017, at 17:39, J Decker <address@hidden> wrote:
>
> okay; this also seems to work.
>
> face->glyph->linearHoriAdvance? (face->glyph->linearHoriAdvance >> 16) :(
> face->glyph->advance.x >> 6 )
This is a hack because nowhere do we guarantee that lineaHoriAdvance is zero
for bitmap fonts. Stick to API.