Expand description
Glyph substitution (gsub
) implementation.
The Glyph Substitution (GSUB) table provides data for substition of glyphs for appropriate rendering of scripts, such as cursively-connecting forms in Arabic script, or for advanced typographic effects, such as ligatures.
— https://docs.microsoft.com/en-us/typography/opentype/spec/gsub
Structs§
Enums§
- Type indicating the features to use when shaping text.
Traits§
merge
is called during ligature substitution (i.e. merging of glyphs), and determines how theRawGlyph.extra_data
field should be merged
Functions§
- Perform glyph substitution according to the supplied features, script and language.