freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Freetype 2.8 bitmap font no linear advance


From: J Decker
Subject: Re: [ft-devel] Freetype 2.8 bitmap font no linear advance
Date: Tue, 22 Aug 2017 14:39:59 -0700

okay; this also seems to work.

face->glyph->linearHoriAdvance? (face->glyph->linearHoriAdvance >> 16) :( face->glyph->advance.x >> 6 )

On Tue, Aug 22, 2017 at 1:42 PM, Alexei Podtelezhnikov <address@hidden> wrote:
> I had basically standardized on using linearHoriAdvance but it isn't working
> for bitmap fonts... should it?

Regarding linearHoriAdvance, the documentation is specific: "Only
relevant for outline glyphs." You should check for
FT_FACE_FLAG_SCALABLE.


reply via email to

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