Instance Property

fontDescriptor

The font descriptor object for the font.

Declaration

var fontDescriptor: NSFontDescriptor { get }

Discussion

The font descriptor contains a mutable dictionary of optional attributes for creating an NSFont object. For more information about font descriptors, see NSFontDescriptor.

See Also

Getting General Font Information

var coveredCharacterSet: CharacterSet

The character set containing all of the nominal characters that the font can render.

var isFixedPitch: Bool

A Boolean value indicating whether all glyphs in the font have the same advancement.

var mostCompatibleStringEncoding: UInt

The string encoding that works best with the font.

var renderingMode: NSFontRenderingMode

The rendering mode of the font.

Deprecated