提交 0d438f89 编写于 作者: B Behdad Esfahbod

[hangul] Merge /before/ reordering

上级 f883de66
...@@ -205,11 +205,11 @@ preprocess_text_hangul (const hb_ot_shape_plan_t *plan, ...@@ -205,11 +205,11 @@ preprocess_text_hangul (const hb_ot_shape_plan_t *plan,
buffer->next_glyph (); buffer->next_glyph ();
if (!is_zero_width_char (font, u)) if (!is_zero_width_char (font, u))
{ {
buffer->merge_out_clusters (start, end + 1);
hb_glyph_info_t *info = buffer->out_info; hb_glyph_info_t *info = buffer->out_info;
hb_glyph_info_t tone = info[end]; hb_glyph_info_t tone = info[end];
memmove (&info[start + 1], &info[start], (end - start) * sizeof (hb_glyph_info_t)); memmove (&info[start + 1], &info[start], (end - start) * sizeof (hb_glyph_info_t));
info[start] = tone; info[start] = tone;
buffer->merge_out_clusters (start, end + 1);
} }
} }
else else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册