|
Mac OS 9
|
#include <SFNTLayoutTypes.h>
Data Fields | |
| UInt16 | rowWidth |
| UInt16 | leftOffsetTable |
| UInt16 | rightOffsetTable |
| KernArrayOffset | theArray |
| UInt16 | firstTable [1] |
KernSimpleArray:
The array is an nXm array of kenring values. Each row in the array represents one left-hand glyph, and each column one right-hand glyph. The zeroth row and column always represent glyphs that are out of bounds and will always contain zero.
A pair is looked up by indexing the left-hand glyph through the left offset table, the right-hand glyph through the right offset table, adding both offsets to the starting address of the kerning array, and fetching the kerning value pointed to.