Global Variable

NSFontSizeAttribute

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

Declaration

NSFontDescriptorAttributeName NSFontSizeAttribute;

Discussion

The value of this attribute is an NSNumber object containing a floating-point value.

See Also

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.

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.