On Tue, Aug 1, 2017 at 7:13 AM, Werner LEMBERG <w...@gnu.org> 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
>



-- 
behdad
http://behdad.org/
_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to