[thai] Set continuation on decomposed nikhahit

This commit is contained in:
Behdad Esfahbod 2018-10-03 20:16:03 +02:00
parent 8edc91022c
commit 4eea2e279b
1 changed files with 3 additions and 3 deletions

View File

@ -324,9 +324,9 @@ preprocess_text_thai (const hb_ot_shape_plan_t *plan,
} }
/* Is SARA AM. Decompose and reorder. */ /* Is SARA AM. Decompose and reorder. */
hb_codepoint_t decomposed[2] = {hb_codepoint_t (NIKHAHIT_FROM_SARA_AM (u)), hb_glyph_info_t &nikhahit = buffer->output_glyph (NIKHAHIT_FROM_SARA_AM (u));
hb_codepoint_t (SARA_AA_FROM_SARA_AM (u))}; _hb_glyph_info_set_continuation (&nikhahit);
buffer->replace_glyphs (1, 2, decomposed); buffer->replace_glyph (SARA_AA_FROM_SARA_AM (u));
if (unlikely (!buffer->successful)) if (unlikely (!buffer->successful))
return; return;