[graphite] Fix deva/dev2 resolution

See https://github.com/harfbuzz/harfbuzz/pull/730#issuecomment-428277800
This commit is contained in:
Behdad Esfahbod 2018-10-11 14:25:48 -04:00
parent 8061664ad1
commit 4d205f0462
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ _hb_graphite2_shape (hb_shape_plan_t *shape_plan,
hb_ot_tags_from_script (hb_buffer_get_script (buffer), &script_tag[0], &script_tag[1]);
seg = gr_make_seg (nullptr, grface,
script_tag[1] == HB_TAG_NONE ? script_tag[0] : script_tag[1],
script_tag[1] == HB_OT_TAG_DEFAULT_SCRIPT ? script_tag[0] : script_tag[1],
feats,
gr_utf32, chars, buffer->len,
2 | (hb_buffer_get_direction (buffer) == HB_DIRECTION_RTL ? 1 : 0));