Contents

xHeight

Returns the x-height of a font.

Declaration

var xHeight: Int32 { get }

Discussion

The x-height is the distance above the baseline of the top of flat, non-ascending lowercase letters (such as x) of glyphs in a font. The value is specified in glyph space units.

See Also

Examining Font Metrics