# `GSFont.unitsPerEm`

*Instance Property*

The number of font units per em.

## Declaration

```swift
var unitsPerEm: UInt32 { get set }
```

```objc
@property (nonatomic, assign) uint32_t unitsPerEm;
```

```python
unitsPerEm() -> int
setUnitsPerEm_(unitsPerEm: int)
```

## Discussion

This defines the coordinate scale of the font and is commonly called UPM. Values are constrained to the range from 16 through 16384.

## See Also

### Font Information

- [`GSFont.fontName`](/Core/GlyphsCore/GSFont/fontName) — The default-language family name.
- [`GSFont nameUI`](/Core/GlyphsCore/GSFont/nameUI) — A family name suitable for displaying the font in the user interface.
- [`GSFont.versionMajor`](/Core/GlyphsCore/GSFont/versionMajor) — The major component of the font version.
- [`GSFont.versionMinor`](/Core/GlyphsCore/GSFont/versionMinor) — The minor component of the font version.
- [`GSFont.date`](/Core/GlyphsCore/GSFont/date) — The creation date recorded for the font.
- [`GSFont panose`](/Core/GlyphsCore/GSFont/panose) — The ten-number PANOSE classification, or `nil` when no classification is specified.
- [`GSFont.note`](/Core/GlyphsCore/GSFont/note) — A note stored with the font for use in the editor.

