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 Bitmapped Font ('NFNT') Resource

The bitmapped font ('NFNT') resource describes a bitmapped font--a font whose glyphs are represented by bit images. The structure of the bitmapped font resource is identical to that of the older 'FONT' resource, which can be used for bitmapped fonts as well; however, the bitmapped font resource has a more flexible ID numbering scheme and is preferred over the 'FONT' resource.

The bitmapped font resource consists of a header component, which describes the font, and a glyph data information component, which contains the definitions of the glyphs in the font. The header component of this resource is represented by the FontRec data type, the declaration of which is shown in the section "The Font Record," beginning on page 4-42. The structure of this resource is shown in Figure 4-16.

Figure 4-16 The bitmapped font ('NFNT') resource

The bitmapped font header component consists of the elements listed below, each of which corresponds to a field in the FontRec data type.

The glyph data component of the bitmapped font resource consists of five tables that describe the glyphs in the font.


Subtopics
The Font Type Element
The Offset to the Width/Offset Table

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996