NSFont defines a number of methods for accessing a font’s metrics information, when that information is available. Methods such as boundingRectForGlyph:
, boundingRectForFont
, xHeight
, and so on, all correspond to standard font metrics information. Figure 1 shows how the font metrics apply to glyph dimensions, and Table 1 lists the method names that correlate with the metrics. See the various method descriptions for more specific information.
Font metric | Methods |
---|---|
| |
© 1997, 2008 Apple Inc. All Rights Reserved. (Last updated: 2008-02-08)