Contents

capHeight

Returns the cap height of a font.

Declaration

var capHeight: Int32 { get }

Discussion

The cap height is the distance above the baseline of the top of flat capital letters of glyphs in a font. The value is specified in glyph space units.

See Also

Examining Font Metrics