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

2022-11-17 Thread Werner LEMBERG


> 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



How to access to an AxisRecord in the Stat table?

2022-11-17 Thread moi15moismokerlolilol
Hi,I there a way to get the AxisRecord in the Stat 
table?https://learn.microsoft.com/en-us/typography/opentype/spec/stat#axis-recordsI
 can only find how to access to these:1. 
https://freetype.org/freetype2/docs/reference/ft2-multiple_masters.html#ft_var_axis
 seems to be 
https://learn.microsoft.com/en-us/typography/opentype/spec/fvar#variationaxisrecord2.
 
https://freetype.org/freetype2/docs/reference/ft2-multiple_masters.html#ft_var_named_style
 seems to be 
https://learn.microsoft.com/en-us/typography/opentype/spec/fvar#instancerecord