Contents

CTFontGetUnitsPerEm(_:)

Returns the units-per-em metric of the given font.

Declaration

func CTFontGetUnitsPerEm(_ font: CTFont) -> UInt32

Parameters

  • font:

    The font reference.

Return Value

The units per em of the font.

See Also

Getting Font Metrics