freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] OT 1.8.2 defines hidden axes in fvar...


From: Behdad Esfahbod
Subject: Re: [ft-devel] OT 1.8.2 defines hidden axes in fvar...
Date: Tue, 1 Aug 2017 07:18:45 +0100

On Tue, Aug 1, 2017 at 7:13 AM, Werner LEMBERG <address@hidden> wrote:

> Not sure how to expose that, or don't. ;)

Yeah, I'm thinking about this issue already since two weeks...

IMHO, it should be exposed.  The most straightforward way would to
break backwards compatibility, introducing a `flag' field in
`FT_Var_Axis'.  For obvious reasons, this is a bad idea.

The only working solution that comes to my mind is a function that
returns the flags of a variation axis.

  FT_EXPORT( FT_Error )
  FT_Get_Var_Axis_Flags( FT_MM_Var  master,
                         FT_UInt    axis_index,
                         FT_UInt*   flags );

Comments?

That's what I would do.
 


    Werner



--

reply via email to

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