ankr: Anchor Point Table

class fontTools.ttLib.tables._a_n_k_r.table__a_n_k_r(tag=None)[source]

Bases: BaseTTXConverter

The anchor point table provides a way to define anchor points. These are points within the coordinate space of a given glyph, independent of the control points used to render the glyph. Anchor points are used in conjunction with the ‘kerx’ table.

See also https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6ankr.html

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 = []
ensureDecompiled(recurse=True)
fromXML(name, attrs, content, font)
merge(m, tables)
subset_glyphs(s)
toXML(writer, font)
tryPackingFontTools(writer)
tryPackingHarfbuzz(writer, hb_first_error_logged)
tryResolveOverflow(font, e, lastOverflowRecord)