post: PostScript table

The post table is an OpenType table.

class fontTools.ttLib.tables._p_o_s_t.table__p_o_s_t(tag=None)[source]

Bases: DefaultTable

PostScript table

The post table contains information needed to use the font on PostScript printers, including the PostScript names of glyphs and data that was stored in the FontInfo dictionary for Type 1 fonts.

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

decompile(data, ttFont)[source]
compile(ttFont)[source]
getGlyphOrder()[source]

This function will get called by a ttLib.TTFont instance. Do not call this function yourself, use TTFont().getGlyphOrder() or its relatives instead!

decode_format_1_0(data, ttFont)[source]
decode_format_2_0(data, ttFont)[source]
build_psNameMapping(ttFont)[source]
decode_format_3_0(data, ttFont)[source]
decode_format_4_0(data, ttFont)[source]
encode_format_2_0(ttFont)[source]
encode_format_4_0(ttFont)[source]
toXML(writer, ttFont)[source]
fromXML(name, attrs, content, ttFont)[source]
mergeMap = {'*': <function first>, 'extraNames': <function <lambda>>, 'formatType': <built-in function max>, 'isFixedPitch': <built-in function min>, 'mapping': <function onlyExisting.<locals>.wrapper>, 'maxMemType1': <function <lambda>>, 'maxMemType42': <function <lambda>>, 'minMemType1': <built-in function max>, 'minMemType42': <built-in function max>, 'tableTag': <function equal>}
prune_pre_subset(font, options)
subset_glyphs(s)
fontTools.ttLib.tables._p_o_s_t.unpackPStrings(data, n)[source]
fontTools.ttLib.tables._p_o_s_t.packPStrings(strings)[source]