Hi,

Well, this may be a dumb question.
I'm reading the API doc for FT_Var_Axis[1]. they say:

The fields minimum, def, and maximum are 16.16 fractional values for
TrueType GX and OpenType variation fonts. For Adobe MM fonts, the
values are integers.

Does this mean those variables are represented as 16.16 fractional
numbers or integers in some cases? If so, how can I recognize if it is
GX/OpenType fonts or Adobe MM fonts?

Someone reported Apple's SF Pro font has wider kerning after the
following code added to fontconfig:

                switch (master->axis[i].tag)
                {
                case FT_MAKE_TAG ('o','p','s','z'):
                if (!FcPatternObjectAddDouble (pat, FC_SIZE_OBJECT,
master->axis[i].def / (double) (1U << 16)))
                    goto bail1;

So I'm wondering if they may have opsz in integers.
Any suggestions would be appreciated.

[1]...https://freetype.org/freetype2/docs/reference/ft2-multiple_masters.html#ft_var_axis

Thanks,
-- 
Akira TAGOH

Reply via email to