freetype-devel
[Top][All Lists]
Advanced

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

Re: Question about FT_Var_Axis


From: Akira TAGOH
Subject: Re: Question about FT_Var_Axis
Date: Thu, 17 Feb 2022 14:16:33 +0900

Hi Werner,

On Wed, Feb 16, 2022 at 10:41 PM Werner LEMBERG <wl@gnu.org> wrote:
>
>
> > 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?
>
> Correct.
>
> > If so, how can I recognize if it is GX/OpenType fonts or Adobe MM
> > fonts?
>
> Basically, it doesn't make a difference.  Either all three variables
> `minimum`, `def, and `maximum` are in 16.16 format, or all of them are
> integers.  It's just a matter how to report them to the user.
>
> If macro `FT_IS_SFNT` returns false, you have an Adobe MM font.

Thanks. Hopefully that would help.

> > So I'm wondering if they may have opsz in integers.
>
> AFAIK, no.

Aha. but he said that removing those lines fixes his issue. I can't
think of any other reasons so far. but I may be missing something
else.

>
>
>      Werner



-- 
Akira TAGOH



reply via email to

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