Important: The information in this document is obsolete and should not be used for new development.
The Location Table
The location table, with a tag name of'loca'
, stores the offsets to the locations of actual glyph data in the outline font resource relative to the beginning of the glyph table. It provides quick access to the data for a particular glyph. The location table is an array of offset values, one for each glyph in the font, including the 0th or missing character glyph.Offsets are stored in one of two forms: in the short format, each offset is a 16-bit unsigned integer value that specifies the number of words from the beginning of the glyph data table to the data for the glyph. In the long format, each offset is a 32-bit unsigned integer value that specifies the number of bytes from the beginning of the glyph data table to the data for the glyph. The format that is used for a font is specified in the location table format element of the font header table, whose description begins on page 4-74.