[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] support of named instances
From: |
Behdad Esfahbod |
Subject: |
Re: [ft-devel] support of named instances |
Date: |
Tue, 18 Aug 2015 10:44:52 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 |
Thanks Werner, this is great! I'm working on a fontconfig patch...
On 15-08-13 07:47 PM, Werner LEMBERG wrote:
>
> I've just pushed a patch to the git repository for easy support of
> named instances in GX fonts. From the CHANGES file:
>
>
> - Simple access to named instances in GX variation fonts is now
> available (in addition to the previous method via FreeType's MM
> interface). In the FT_Face structure, bits 16-30 of the
> `face_index' field hold the current named instance index for the
> given face index, and bits 16-30 of `style_flags' contain the
> number of instances for the given face index. `FT_Open_Face'
> and friends also understand the extended bits of the face index
> parameter.
>
> You need to enable TT_CONFIG_OPTION_GX_VAR_SUPPORT for this new
> feature. Otherwise, bits 16-30 of the two fields are zero (or
> are ignored).
>
>
> Please test – and enjoy!
>
>
> Werner
> _______________________________________________
> Freetype-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/freetype-devel
>