| 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 eb23d45b68aabd24538b46bb482ac187c5f61d73..9861f0fc7bb7f015b88b1dfce28bd031817877f2 100644
|
| --- a/third_party/harfbuzz-ng/src/hb-ot-layout.h
|
| +++ b/third_party/harfbuzz-ng/src/hb-ot-layout.h
|
| @@ -95,6 +95,7 @@ hb_ot_layout_get_ligature_carets (hb_font_t *font,
|
| #define HB_OT_LAYOUT_NO_SCRIPT_INDEX 0xFFFFu
|
| #define HB_OT_LAYOUT_NO_FEATURE_INDEX 0xFFFFu
|
| #define HB_OT_LAYOUT_DEFAULT_LANGUAGE_INDEX 0xFFFFu
|
| +#define HB_OT_LAYOUT_NO_VARIATIONS_INDEX 0xFFFFFFFFu
|
|
|
| HB_EXTERN unsigned int
|
| hb_ot_layout_table_get_script_tags (hb_face_t *face,
|
| @@ -236,6 +237,24 @@ Xhb_ot_layout_lookup_enumerate_sequences (hb_face_t *face,
|
| void *user_data);
|
| #endif
|
|
|
| +/* Variations support */
|
| +
|
| +HB_EXTERN hb_bool_t
|
| +hb_ot_layout_table_find_feature_variations (hb_face_t *face,
|
| + hb_tag_t table_tag,
|
| + const int *coords,
|
| + unsigned int num_coords,
|
| + unsigned int *variations_index /* out */);
|
| +
|
| +HB_EXTERN unsigned int
|
| +hb_ot_layout_feature_with_variations_get_lookups (hb_face_t *face,
|
| + hb_tag_t table_tag,
|
| + unsigned int feature_index,
|
| + unsigned int variations_index,
|
| + unsigned int start_offset,
|
| + unsigned int *lookup_count /* IN/OUT */,
|
| + unsigned int *lookup_indexes /* OUT */);
|
| +
|
|
|
| /*
|
| * GSUB
|
|
|