Index: third_party/harfbuzz-ng/src/hb-ot-layout.h |
diff --git a/third_party/harfbuzz-ng/src/hb-ot-layout.h b/third_party/harfbuzz-ng/src/hb-ot-layout.h |
index d90eff374d701c03cf6b7f23bc83889bab0b8f12..949678ac42258787a907a709bef9bc0ca64d63fa 100644 |
--- a/third_party/harfbuzz-ng/src/hb-ot-layout.h |
+++ b/third_party/harfbuzz-ng/src/hb-ot-layout.h |
@@ -92,9 +92,9 @@ hb_ot_layout_get_ligature_carets (hb_font_t *font, |
* GSUB/GPOS feature query and enumeration interface |
*/ |
-#define HB_OT_LAYOUT_NO_SCRIPT_INDEX ((unsigned int) 0xFFFF) |
-#define HB_OT_LAYOUT_NO_FEATURE_INDEX ((unsigned int) 0xFFFF) |
-#define HB_OT_LAYOUT_DEFAULT_LANGUAGE_INDEX ((unsigned int) 0xFFFF) |
+#define HB_OT_LAYOUT_NO_SCRIPT_INDEX 0xFFFFu |
+#define HB_OT_LAYOUT_NO_FEATURE_INDEX 0xFFFFu |
+#define HB_OT_LAYOUT_DEFAULT_LANGUAGE_INDEX 0xFFFFu |
unsigned int |
hb_ot_layout_table_get_script_tags (hb_face_t *face, |
@@ -146,6 +146,14 @@ hb_ot_layout_language_get_required_feature_index (hb_face_t *face, |
unsigned int language_index, |
unsigned int *feature_index); |
+hb_bool_t |
+hb_ot_layout_language_get_required_feature (hb_face_t *face, |
+ hb_tag_t table_tag, |
+ unsigned int script_index, |
+ unsigned int language_index, |
+ unsigned int *feature_index, |
+ hb_tag_t *feature_tag); |
+ |
unsigned int |
hb_ot_layout_language_get_feature_indexes (hb_face_t *face, |
hb_tag_t table_tag, |