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 b8b5baf3b3da80adbb24b1a4931c50f3731aaa90..d431a380175f55cf316b3b18b3a927ad7131a701 100644 |
--- a/third_party/harfbuzz-ng/src/hb-ot-layout.h |
+++ b/third_party/harfbuzz-ng/src/hb-ot-layout.h |
@@ -42,6 +42,7 @@ HB_BEGIN_DECLS |
#define HB_OT_TAG_GSUB HB_TAG('G','S','U','B') |
#define HB_OT_TAG_GPOS HB_TAG('G','P','O','S') |
+ |
/* |
* GDEF |
*/ |
@@ -168,25 +169,17 @@ hb_ot_layout_feature_get_lookup_indexes (hb_face_t *face, |
hb_bool_t |
hb_ot_layout_has_substitution (hb_face_t *face); |
-/* Should be called before all the substitute_lookup's are done. */ |
-void |
-hb_ot_layout_substitute_start (hb_buffer_t *buffer); |
- |
hb_bool_t |
-hb_ot_layout_substitute_lookup (hb_face_t *face, |
- hb_buffer_t *buffer, |
- unsigned int lookup_index, |
- hb_mask_t mask); |
- |
-/* Should be called after all the substitute_lookup's are done */ |
-void |
-hb_ot_layout_substitute_finish (hb_buffer_t *buffer); |
- |
+hb_ot_layout_would_substitute_lookup (hb_face_t *face, |
+ unsigned int lookup_index, |
+ const hb_codepoint_t *glyphs, |
+ unsigned int glyphs_length, |
+ hb_bool_t zero_context); |
void |
hb_ot_layout_substitute_closure_lookup (hb_face_t *face, |
- hb_set_t *glyphs, |
- unsigned int lookup_index); |
+ unsigned int lookup_index, |
+ hb_set_t *glyphs); |
/* |
* GPOS |
@@ -195,20 +188,6 @@ hb_ot_layout_substitute_closure_lookup (hb_face_t *face, |
hb_bool_t |
hb_ot_layout_has_positioning (hb_face_t *face); |
-/* Should be called before all the position_lookup's are done. Resets positions to zero. */ |
-void |
-hb_ot_layout_position_start (hb_buffer_t *buffer); |
- |
-hb_bool_t |
-hb_ot_layout_position_lookup (hb_font_t *font, |
- hb_buffer_t *buffer, |
- unsigned int lookup_index, |
- hb_mask_t mask); |
- |
-/* Should be called after all the position_lookup's are done */ |
-void |
-hb_ot_layout_position_finish (hb_buffer_t *buffer); |
- |
HB_END_DECLS |