Declaration

var unitsPerEm: UInt32 { get set }

Declaration

@property (nonatomic, assign) uint32_t unitsPerEm;

Declaration

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

  • The default-language family name.

  • A family name suitable for displaying the font in the user interface.

  • The major component of the font version.

  • The minor component of the font version.

  • The creation date recorded for the font.

  • The ten-number PANOSE classification, or nil when no classification is specified.

  • A note stored with the font for use in the editor.