Type Property

family

An optional NSString object that specifies the font family.

Declaration

static let family: NSFontDescriptor.AttributeName

See Also

Font Attributes

static let name: NSFontDescriptor.AttributeName

An optional NSString object that specifies the font name.

static let face: NSFontDescriptor.AttributeName

An optional NSString object that specifies the font face.

static let size: NSFontDescriptor.AttributeName

An optional NSNumber object, containing a float value, that specifies the font size.

static let visibleName: NSFontDescriptor.AttributeName

An optional NSString object that specifies the font’s visible name.

static let matrix: NSFontDescriptor.AttributeName

An NSAffineTransform instance that specifies the font’s transformation matrix.

static let variation: NSFontDescriptor.AttributeName

An NSDictionary instance that describes the font’s variation axis.

static let characterSet: NSFontDescriptor.AttributeName

An NSCharacterSet instance that represents the set of Unicode characters covered by the font.

static let cascadeList: NSFontDescriptor.AttributeName

An NSArray instance—each member of the array is a sub-descriptor.

static let traits: NSFontDescriptor.AttributeName

An NSDictionary instance fully describing font traits.

static let fixedAdvance: NSFontDescriptor.AttributeName

An NSNumber instance containing a float value that overrides the glyph advancement specified by the font.