GSUB
: Glyph Substitution Table¶
-
class
fontTools.ttLib.tables.G_S_U_B_.
table_G_S_U_B_
(tag=None)[source]¶ -
closure_glyphs
(s)¶
-
compile
(font)¶ Compiles the table into binary. Called automatically on save.
-
decompile
(data, font)¶ Create an object from the binary data. Called automatically on access.
-
dependencies
= []¶
-
fromXML
(name, attrs, content, font)¶
-
merge
(m, tables)¶
-
mergeMap
= {'table': <function mergeObjects>, 'tableTag': <function onlyExisting.<locals>.wrapper>}¶
-
neuter_lookups
(lookup_indices)¶ Sets lookups not in lookup_indices to None.
-
prune_features
()¶ Remove unreferenced features
-
prune_lookups
(remap=True)¶ Remove (default) or neuter unreferenced lookups
-
prune_post_subset
(font, options)¶
-
prune_pre_subset
(font, options)¶
-
remove_redundant_langsys
()¶
-
retain_empty_scripts
()¶
-
subset_glyphs
(s)¶
-
subset_lookups
(lookup_indices)¶ Retains specified lookups, then removes empty features, language systems, and scripts.
-
toXML
(writer, font)¶
-