Minor
This commit is contained in:
parent
8729691267
commit
5f68f8675e
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue