[HarfBuzz] List OpenType features

Edu García arcnorj at gmail.com
Wed Nov 18 12:13:50 PST 2015


Thank you both, that's very helpful!

I'll give it a try later, and maybe open a PR to add doc to them (the lack
of docs is a bit problematic for a project this complex)
On Nov 18, 2015 11:43 PM, "Adam Twardoch (List)" <list.adam at twardoch.com>
wrote:

>
> > On 18 Nov 2015, at 13:40, Nikolay Sivov <bunglehead at gmail.com> wrote:
> >
> > On 18.11.2015 15:27, Edu García wrote:
> >> Thank you!
> >>
> >> That's the one I suspected. However, as its second parameter, it wants a
> >> "hb_tag_t table_tag". What is that table tag, and how do I get it?
> >
> > There's only two possible tags you can use in this case - HB_OT_TAG_GSUB
> and HB_OT_TAG_GPOS.
>
> Yes, giving HB_OT_TAG_GSUB will get you the list of substitution features
> in the font and HB_OT_TAG_GPOS will give you the list of positioning
> features. GSUB features are always applied before GPOS features. It's
> possible that the same feature is defined in both tables, then the GSUB
> portion of the feature will be applied first, GPOS later.
>
> A.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20151119/038edb7c/attachment.html>


More information about the HarfBuzz mailing list