freetype
[Top][All Lists]
Advanced

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

Re: [ft] are there font types for which FT_LOAD_NO_RECURSE is supposed t


From: Alexei Podtelezhnikov
Subject: Re: [ft] are there font types for which FT_LOAD_NO_RECURSE is supposed to fail?
Date: Wed, 19 Sep 2018 06:58:26 -0400

On Wed, Sep 19, 2018 at 2:37 AM Kevin Rogovin <address@hidden> wrote:
> I am thinking that whether or not glyph metrics are loaded with 
> FT_LOAD_NO_RECURSE is dependent on font driver, i.e font format.

No. It depends on the glyph format (FT_GlyphSlot->format)
https://www.freetype.org/freetype2/docs/reference/ft2-basic_types.html#FT_Glyph_Format
You should not be using metrics from FT_GLYPH_FORMAT_COMPOSITE. For
other glyph formats this flag does nothing but imposes those other
flag dependencies.



reply via email to

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