[otlayout] Reset ccc when marking glyph as letter
This commit is contained in:
parent
b9d0077ac1
commit
3d436d325e
@ -894,7 +894,10 @@ static inline void ligate_input (hb_apply_context_t *c,
|
||||
{
|
||||
_hb_glyph_info_set_lig_props_for_ligature (&buffer->cur(), lig_id, total_component_count);
|
||||
if (_hb_glyph_info_get_general_category (&buffer->cur()) == HB_UNICODE_GENERAL_CATEGORY_NON_SPACING_MARK)
|
||||
{
|
||||
_hb_glyph_info_set_general_category (&buffer->cur(), HB_UNICODE_GENERAL_CATEGORY_OTHER_LETTER);
|
||||
_hb_glyph_info_set_modified_combining_class (&buffer->cur(), 0);
|
||||
}
|
||||
}
|
||||
c->replace_glyph_with_ligature (lig_glyph, klass);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user