提交 5ced012d 编写于 作者: B Behdad Esfahbod

Extend end when merging clusters in out-buffer

上级 72c0a187
......@@ -464,6 +464,10 @@ hb_buffer_t::merge_out_clusters (unsigned int start,
while (start && out_info[start - 1].cluster == out_info[start].cluster)
start--;
/* Extend end */
while (end < out_len && out_info[end - 1].cluster == out_info[end].cluster)
end++;
for (unsigned int i = start; i < end; i++)
out_info[i].cluster = cluster;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册