[][src]Module allsorts::gsub

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

FeatureInfo
GsubFeatureMask
RawGlyph

Enums

GlyphOrigin

Traits

GlyphData

merge is called during ligature substitution (i.e. merging of glyphs), and determines how the RawGlyph.extra_data field should be merged

Functions

build_lookups
features_supported
get_lookups_cache_index
gsub_apply_custom
gsub_apply_default
gsub_apply_lookup
gsub_feature_would_apply
gsub_lookup_would_apply
replace_missing_glyphs