loca: Index to Location table

The loca table is an OpenType table.

class fontTools.ttLib.tables._l_o_c_a.table__l_o_c_a(tag=None)[source]

Bases: DefaultTable

Index to Location table

The loca table stores the offsets in the glyf table that correspond to the descriptions of each glyph. The glyphs are references by Glyph ID.

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

dependencies = ['glyf']
decompile(data, ttFont)[source]
compile(ttFont)[source]
set(locations)[source]
toXML(writer, ttFont)[source]
mergeMap = {'*': <function recalculate>, 'tableTag': <function equal>}