On 19.11.2015 0:45, Edu García wrote:
It worked, as expected :).
However, I'm getting some curious results, and I'm not sure if it's
because of my C rustiness or the fact that I'm running Harfbuzz with
Emscripten, but just in case, I'll ask:
With this simple code:
unsigned int count = 80;
hb_tag_t myResult[count];
hb_ot_layout_table_get_feature_tags(hb_font_get_face(hb_font),
HB_OT_TAG_GSUB, 0, &count, myResult);
...I'm getting exactly 11 copies of every tag inside the myResult array
(so positions 0-10 contain "aalt", positions 11-21 contain "c2sc", etc).
Is this expected, a bug (I'm using 1.0.6) or am I doing something
glaringly wrong there?
Thanks, and sorry for the annoying questions :)
And if you know what you're looking for specifically, you case use
hb_ot_layout_language_get_feature_tags().
_______________________________________________
HarfBuzz mailing list
HarfBuzz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/harfbuzz