![]() |
FontRec |
Header: Fonts.h |
struct FontRec { SInt16 fontType; SInt16 firstChar; SInt16 lastChar; SInt16 widMax; SInt16 kernMax; SInt16 nDescent; SInt16 fRectWidth; SInt16 fRectHeight; UInt16 owTLoc; SInt16 ascent; SInt16 descent; SInt16 leading; SInt16 rowWords; }; typedef FontRec FontRecPtr;
Font type.
Character code of first glyph.
Character code of last glyph.
Maximum glyph width.
Negative of maximum glyph kern.
Negative of descent.
Width of font rectangle.
Height of font rectangle.
Location of width/offset table.
Ascent.
Descent.
Leading.
Row width of bit image / 2.
The font structure, of data type FontRec, describes the format of ‘NFNT' and, likewise, the 'FONT' resource. It is shown here as a guide to the format of the resource. The font structure is not used directly by any Font Manager functions. The fields of the font structure are described in the section‘NFNT'
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)