Gsub
GSUB stands for Glyph Substitution, a component of the OpenType font specification that defines how sequences of glyphs may be replaced with alternative glyphs during text shaping. Its purpose is to implement ligatures, contextual or stylistic alternates, and other substitutions without changing the underlying glyph architecture at render time.
In an OpenType font, GSUB is one of the layout tables. It organizes rules into lookups, which
Substitution mechanisms cover single substitutions (one glyph replaced by another), ligature substitutions (sequences replaced by a
Rendering engines such as HarfBuzz, DirectWrite, CoreText, and Pango consult the GSUB table during shaping to