Type Alias

NSFontDescriptorAttributeName

Constants for the names of font attributes.

Declaration

typedef NSString *NSFontDescriptorAttributeName;

Discussion

You can retrieve the values for these attributes using objectForKey:.

Topics

Font Attributes

NSFontFamilyAttribute

An optional string object that specifies the font family.

NSFontNameAttribute

An optional string object that specifies the font name.

NSFontFaceAttribute

An optional string object that specifies the font face.

NSFontSizeAttribute

An optional floating-point number that specifies the font size.

NSFontVisibleNameAttribute

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

NSFontMatrixAttribute

An affine transform that specifies the font’s transformation matrix.

NSFontVariationAttribute

A dictionary that describes the font’s variation axis.

NSFontCharacterSetAttribute

The set of Unicode characters covered by the font.

NSFontCascadeListAttribute

An array, each member of which is a sub-descriptor.

NSFontTraitsAttribute

A dictionary that fully describes the font traits.

NSFontFixedAdvanceAttribute

A floating-point value that overrides the glyph advancement specified by the font.

NSFontFeatureSettingsAttribute

An array of dictionaries representing non-default font feature settings.

Deprecated

NSFontColorAttribute

An optional NSData object that specifies the font color.

Deprecated

See Also

Getting the Font Attributes

fontAttributes

The receiver’s dictionary of attributes.

- objectForKey:

Returns the font attribute specified by the given key.

NSFontDescriptorSymbolicTraits

Stylistic aspects of a font.

matrix

The current transform matrix of the receiver.

pointSize

The point size of the receiver.

postscriptName

The PostScript name of the receiver.

NSFontDescriptorFeatureKey

Constants to use as keys to retrieve information about a font descriptor from its feature dictionary.

NSFontFamilyClass

Constants that classify certain stylistic qualities of the font.

NSFontFamilyClassMask

Constant you use to access NSFontFamilyClass values in the upper four bits of NSFontSymbolicTraits.

Typeface Information

Constants for type faces such as italic or bold.

NSFontDescriptorVariationKey

Constants that can be used as keys to retrieve information about a font descriptor from its variation axis dictionary.