More removal of lig-id code from buffer
This commit is contained in:
parent
dd2ffd282c
commit
f6a23a0b91
@ -248,11 +248,11 @@ hb_buffer_add_glyph (hb_buffer_t *buffer,
|
|||||||
if (unlikely (!_hb_buffer_ensure (buffer, buffer->len + 1))) return;
|
if (unlikely (!_hb_buffer_ensure (buffer, buffer->len + 1))) return;
|
||||||
|
|
||||||
glyph = &buffer->info[buffer->len];
|
glyph = &buffer->info[buffer->len];
|
||||||
|
|
||||||
|
memset (glyph, 0, sizeof (*glyph));
|
||||||
glyph->codepoint = codepoint;
|
glyph->codepoint = codepoint;
|
||||||
glyph->mask = mask;
|
glyph->mask = mask;
|
||||||
glyph->cluster = cluster;
|
glyph->cluster = cluster;
|
||||||
glyph->component() = 0;
|
|
||||||
glyph->lig_id() = 0;
|
|
||||||
glyph->gproperty() = HB_BUFFER_GLYPH_PROPERTIES_UNKNOWN;
|
glyph->gproperty() = HB_BUFFER_GLYPH_PROPERTIES_UNKNOWN;
|
||||||
|
|
||||||
buffer->len++;
|
buffer->len++;
|
||||||
|
Loading…
Reference in New Issue
Block a user