NSFontTraitMask
Constants for isolating specific traits of a font.
Declaration
struct NSFontTraitMaskOverview
NSFontManager categorizes fonts according to a small set of traits. You can convert fonts by adding and removing individual traits, and you can get a font with a specific combination of traits.
These pairs of traits are mutually exclusive:
Topics
Trait Masks
boldFontMaskcompressedFontMaskcondensedFontMaskexpandedFontMaskfixedPitchFontMaskitalicFontMasknarrowFontMasknonStandardCharacterSetFontMaskposterFontMasksmallCapsFontMaskunboldFontMaskunitalicFontMask