![]() |
FMetricRec |
Header: Fonts.h |
struct FMetricRec { Fixed ascent; Fixed descent; Fixed leading; Fixed widMax; Handle wTabHandle; }; typedef FMetricRec FMetricRecPtr;
The measurement from the baseline to the ascent line of the font. You can determine the line height, in pixels, by adding the values of the ascent, descent, and leading fields of the font metrics structure.
The measurement from the baseline to the descent line of the font.
The measurement from the descent line to the ascent line below it.
The width of the largest glyph in the font.
A handle to the global width table.
The font metrics structure (of data type FMetricRec) contains a handle to the global width table, which in turn contains a handle to the associated font family resource for the current font (the font in the current graphics port). It also contains the values of four measurements for the current font.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)