---
title: unitsPerEm
framework: coregraphics
role: symbol
role_heading: Instance Property
path: coregraphics/cgfont/unitsperem
---

# unitsPerEm

Returns the number of glyph space units per em for the provided font.

## Declaration

```swift
var unitsPerEm: Int32 { get }
```

## See Also

### Examining Font Metrics

- [ascent](coregraphics/cgfont/ascent.md)
- [capHeight](coregraphics/cgfont/capheight.md)
- [descent](coregraphics/cgfont/descent.md)
- [fontBBox](coregraphics/cgfont/fontbbox.md)
- [italicAngle](coregraphics/cgfont/italicangle.md)
- [leading](coregraphics/cgfont/leading.md)
- [stemV](coregraphics/cgfont/stemv.md)
- [xHeight](coregraphics/cgfont/xheight.md)
