freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] How to determine if horizontal hinting is happening?


From: Alexei Podtelezhnikov
Subject: Re: [ft-devel] How to determine if horizontal hinting is happening?
Date: Mon, 19 Feb 2018 06:41:14 -0500

On Sun, Feb 18, 2018 at 6:11 PM, Werner LEMBERG <address@hidden> wrote:
>> What I need is a reliable mechanism (across Freetype versions and
>> fonts) to determine if a font has horizontal hinting applied or not.
>> It looks like it's something Freetype might need to provide, since
>> the true answer seems to come from the interaction of flags, fonts,
>> and engines.
>>
>> Could this be something that I can read out of FT_FaceRec?
>
> No, it can't, since FT_Load_Glyph's load flags determine that, which
> comes later than the creation of `FT_Face'.
>

Could you get this from comparing linearHoriAdvance with advance.x<<10 ?



reply via email to

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