This commit is contained in:
Behdad Esfahbod 2012-06-08 19:23:43 -04:00
parent 8729691267
commit 5f68f8675e
1 changed files with 1 additions and 0 deletions

View File

@ -383,6 +383,7 @@ hb_hide_zerowidth (hb_ot_shape_context_t *c)
unsigned int count = c->buffer->len;
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]))) {
c->buffer->info[i].codepoint = space;
c->buffer->pos[i].x_advance = 0;