Global Variable

NSFontVariationAttribute

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

Declaration

NSFontDescriptorAttributeName NSFontVariationAttribute;

Discussion

The default value is supplied by the font. See Font Variation Axis Dictionary Keys for dictionary keys.

See Also

Font Attributes

NSFontFamilyAttribute

An optional NSString object that specifies the font family.

NSFontNameAttribute

An optional NSString object that specifies the font name.

NSFontFaceAttribute

An optional NSString object that specifies the font face.

NSFontSizeAttribute

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

NSFontVisibleNameAttribute

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

NSFontColorAttribute

An optional NSData object that specifies the font color.

Deprecated
NSFontMatrixAttribute

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

NSFontCharacterSetAttribute

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

NSFontCascadeListAttribute

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

NSFontTraitsAttribute

An NSDictionary instance fully describing font traits.

NSFontFixedAdvanceAttribute

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