GPOS: Glyph Positioning table

The GPOS table is an OpenType table.

class fontTools.ttLib.tables.G_P_O_S_.table_G_P_O_S_(tag=None)[source]

Bases: BaseTTXConverter

Glyph Positioning table

The GPOS table stores advanced glyph-positioning data used in OpenType Layout features, such as mark attachment, cursive attachment, kerning, and other position adjustments.

See also https://learn.microsoft.com/en-us/typography/opentype/spec/gpos

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_feature_tags(feature_tags)
subset_glyphs(s)
subset_lookups(lookup_indices)

Retains specified lookups, then removes empty features, language systems, and scripts.

subset_script_tags(tags)