Re: How to access to an AxisRecord in the Stat table?

Werner LEMBERG <[email protected]> Thu, 17 Nov 2022 14:52:59 +0000 (UTC)
Newsgroups gmane.comp.fonts.freetype.user
Message-ID <[email protected]>
> Hi,I there a way to get the AxisRecord in the Stat table?

No, there isn't: FreeType has no extra support for this table.  You
would have to load the table with `FT_Load_Sfnt_Table` and parse it by
yourself.

Note, however, that I strongly recommend to *not* doing this.  You
should rather use a higher-level library such as 'HarfBuzz', which
handles all the OpenType intricacies automatically for you, including
the 'STAT' table.


    Werner