Add two APIs for getting stylistic set labels

System Internals / HarfBuzz - Ebrahim Byagowi [gnu.org] - 12 October 2018 20:06 EDT

- hb_ot_layout_feature_get_characters
- hb_ot_layout_feature_get_name_ids

However HarfBuzz currently doesn't expose an API for retrieving the actual information associated with NameId from the `name` table and that should be done separately.

dc49bd8d Add two APIs for getting stylistic set labels
docs/harfbuzz-sections.txt | 2 +
src/hb-ot-layout-common.hh | 14 +++++
src/hb-ot-layout.cc | 133 +++++++++++++++++++++++++++++++++++++++++++++
src/hb-ot-layout.h | 29 ++++++++++
test/api/CMakeLists.txt | 2 +
test/api/Makefile.am | 1 +
test/api/fonts/cv01.otf | Bin 0 -> 1956 bytes
test/api/test-ot-nameid.c | 96 ++++++++++++++++++++++++++++++++
8 files changed, 277 insertions(+)

Upstream: cgit.freedesktop.org


  • Share