[name] Make hb_name_id_t be the enum This is like hb_script_t. We had this exposed as unsigned int since 2.0.0 release in two APIs, as well as hb_ot_layout_get_size_params() from earlier. But since no one uses those (right?!), let's just fix this now.
diff --git a/docs/harfbuzz-docs.xml b/docs/harfbuzz-docs.xml index 3488ccb..859cc70 100644 --- a/docs/harfbuzz-docs.xml +++ b/docs/harfbuzz-docs.xml
@@ -76,11 +76,13 @@ <xi:include href="xml/hb-set.xml"/> <xi:include href="xml/hb-ot.xml"/> + <xi:include href="xml/hb-ot-font.xml"/> <xi:include href="xml/hb-ot-layout.xml"/> <xi:include href="xml/hb-ot-tag.xml"/> - <xi:include href="xml/hb-ot-font.xml"/> - <xi:include href="xml/hb-ot-shape.xml"/> + <xi:include href="xml/hb-ot-color.xml"/> + <xi:include href="xml/hb-ot-name.xml"/> <xi:include href="xml/hb-ot-math.xml"/> + <xi:include href="xml/hb-ot-shape.xml"/> <xi:include href="xml/hb-shape-plan.xml"/>
diff --git a/docs/harfbuzz-sections.txt b/docs/harfbuzz-sections.txt index dcca4f6..7f2ff2d 100644 --- a/docs/harfbuzz-sections.txt +++ b/docs/harfbuzz-sections.txt
@@ -360,6 +360,7 @@ HB_GOBJECT_TYPE_GLYPH_FLAGS HB_GOBJECT_TYPE_MAP HB_GOBJECT_TYPE_MEMORY_MODE +HB_GOBJECT_TYPE_NAME_ID HB_GOBJECT_TYPE_OT_COLOR_PALETTE_FLAGS HB_GOBJECT_TYPE_OT_LAYOUT_GLYPH_CLASS HB_GOBJECT_TYPE_OT_MATH_CONSTANT @@ -393,6 +394,7 @@ hb_gobject_glyph_flags_get_type hb_gobject_map_get_type hb_gobject_memory_mode_get_type +hb_gobject_name_id_get_type hb_gobject_ot_color_palette_flags_get_type hb_gobject_ot_layout_glyph_class_get_type hb_gobject_ot_math_constant_get_type @@ -489,7 +491,7 @@ <SECTION> <FILE>hb-ot-name</FILE> hb_name_id_t -HB_NAME_ID_INVALID +hb_ot_name_entry_t hb_ot_name_list_names hb_ot_name_get_utf16 hb_ot_name_get_utf32