mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-14 17:13:40 +00:00
[syllabic] Actually clear syllables
Such that they don't affect GPOS.
I broke this in 044d7a06db
.
This commit is contained in:
parent
9ee7c2ea63
commit
c5f3b3feb1
1 changed files with 4 additions and 0 deletions
|
@ -92,6 +92,10 @@ hb_syllabic_clear_var (const hb_ot_shape_plan_t *plan,
|
|||
hb_font_t *font,
|
||||
hb_buffer_t *buffer)
|
||||
{
|
||||
unsigned count = buffer->len;
|
||||
hb_glyph_info_t *info = buffer->info;
|
||||
for (unsigned i = 0; i < count; i++)
|
||||
info[i].syllable() = 0;
|
||||
HB_BUFFER_DEALLOCATE_VAR (buffer, syllable);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue