) or a space. If the font does not contain an outline for the missing character, then the first and second offsets should have the same value. This also applies to any other character without an outline, such as the space character.
Most routines will look at the 'maxp' table to determine the number of glyphs in the font, but the value in the 'loca' table should agree.
There are two versions of this table, the short and the long. The version is specified in the indexToLocFormat entry in the 'head' table.
Type | Name | Description |
USHORT | offsets[n] | The actual local offset divided by 2 is stored. The value of n is numGlyphs + 1. The value for numGlyphs is found in the 'maxp' table. |
Type | Name | Description |
ULONG | offsets[n] | The actual local offset is stored. The value of n is numGlyphs + 1. The value for numGlyphs is found in the 'maxp' table. |