Returns the number of glyph space units per em for the provided font.
SDKs
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Core Graphics
Declaration
int CGFontGetUnitsPerEm(CGFont Ref font);
Parameters
font
A font object.
Return Value
The number of glyph space units per em for the provided font.