Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Text /
Chapter 4 - Font Manager / Font Manager Reference
The Font Family ('FOND') Resource


The Font Family Kerning Table

The font family kerning table consists of a group of kerning subtable entries. Each subtable contains the measurements of a hypothetical 1-point font of this family with a different stylistic variation. The Font Manager multiplies these measurements by the requested font size. The structure of the font family kerning table is shown in Figure 4-29.

Figure 4-29 The font family kerning table

The font family kerning table is represented by the KernTable data type, which is shown on page 4-45. It consists of a count, followed by a variable number of kerning subtable entries.

Each kerning subtable entry is represented by the KernEntry data type, which is described on page 4-45. Each subtable pertains to a specific style code and contains a variable number of kerning pair entries. The style code values are shown in Figure 4-23 on page 4-89. The elements of each subtable entry are as follows:

Each kerning pair entry specifies a kerning distance in pixels for a pair of glyphs. Each glyph is specified by its character code. The structure of the kerning pair entry is shown in Figure 4-30.

Figure 4-30 A kerning pair entry

Each kerning pair entry is represented by the KernPair data type, which is shown on page 4-45. The elements of each entry are as follows:


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996