# `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)

  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)
  compile(ttFont)
  set(locations)
  toXML(writer, ttFont)
  mergeMap = {'*': <function recalculate>, 'tableTag': <function equal>}