Fix Indic script tags in Graphite

This commit is contained in:
David Corbett 2018-10-11 20:37:49 -04:00 committed by Behdad Esfahbod
parent bf8469be9a
commit 1e816d62ef
1 changed files with 2 additions and 2 deletions

View File

@ -279,8 +279,8 @@ _hb_graphite2_shape (hb_shape_plan_t *shape_plan,
/* TODO ensure_native_direction. */ /* TODO ensure_native_direction. */
hb_tag_t script_tag[2]; hb_tag_t script_tag[HB_OT_MAX_TAGS_PER_SCRIPT];
unsigned int count = 2; unsigned int count = HB_OT_MAX_TAGS_PER_SCRIPT;
hb_ot_tags_from_script_and_language (hb_buffer_get_script (buffer), hb_ot_tags_from_script_and_language (hb_buffer_get_script (buffer),
HB_LANGUAGE_INVALID, HB_LANGUAGE_INVALID,
&count, &count,