freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] FT_Done_MM_Var + FT_Library


From: armin
Subject: Re: [ft-devel] FT_Done_MM_Var + FT_Library
Date: Wed, 4 Jul 2018 08:21:26 +0200

> Note, however, that you can use
>
>  face->glyph->library
>
> since FreeType always creates an `FT_GlyphSlot' object if the face index
is
> >= 0.  In other words, it is not necessary to carry both `FT_Face' and
> `FT_Library'.

Ohhhh, that is an amazing life hack, thanks! :D  Couldn't find the library
in `FT_FaceRec' directly and expected it to be in `FT_Face_Internal' which
is why I stopped looking for it anywhere else.

Armin




reply via email to

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