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

Minor

上级 87296912
...@@ -383,6 +383,7 @@ hb_hide_zerowidth (hb_ot_shape_context_t *c) ...@@ -383,6 +383,7 @@ hb_hide_zerowidth (hb_ot_shape_context_t *c)
unsigned int count = c->buffer->len; unsigned int count = c->buffer->len;
for (unsigned int i = 0; i < count; i++) for (unsigned int i = 0; i < count; i++)
/* TODO Do this if no ligature was formed? */
if (unlikely (_hb_glyph_info_is_zero_width (&c->buffer->info[i]))) { if (unlikely (_hb_glyph_info_is_zero_width (&c->buffer->info[i]))) {
c->buffer->info[i].codepoint = space; c->buffer->info[i].codepoint = space;
c->buffer->pos[i].x_advance = 0; c->buffer->pos[i].x_advance = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册