fpgm: Font Program table

The fpgm table is an OpenType table.

class fontTools.ttLib.tables._f_p_g_m.table__f_p_g_m(tag=None)[source]

Bases: DefaultTable

Font Program table

The fpgm table typically contains function defintions that are used by font instructions. This Font Program is similar to the Control Value Program that is stored in the prep table, but the fpgm table is only executed one time, when the font is first used.

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

decompile(data, ttFont)[source]
compile(ttFont)[source]
toXML(writer, ttFont)[source]
fromXML(name, attrs, content, ttFont)[source]
mergeMap(lst)