Type Alias

NSFontSymbolicTraits

A symbolic description of stylistic aspects of a font.

Declaration

typedef uint32_t NSFontSymbolicTraits;

Discussion

The upper 16 bits is used to describe appearance of the font (see NSFontFamilyClass) whereas the lower 16 bits is used for typeface information (see Typeface Information). The font appearance information represented by the upper 16 bits can be used for stylistic font matching. The symbolic traits supersede the existing NSFontTraitMask type used by NSFontManager. The corresponding values are kept compatible between NSFontTraitMask and NSFontSymbolicTraits.

See Also

Font Data

NSFont

The representation of a font in an app.

NSFontDescriptor

A dictionary of attributes that describe a font.

NSFontTraitMask

Mask of traits assigned to a font, assigned using the values in Font traits.

NSFontFamilyClass

Constants that classify certain stylistic qualities of the font.

NSFontDescriptorSymbolicTraits

Stylistic aspects of a font.