A symbolic description of stylistic aspects of a font.
SDK
- macOS 10.4+
Framework
- App
Kit
Declaration
typedef uint32_t NSFontSymbolicTraits;
Discussion
The upper 16 bits is used to describe appearance of the font (see NSFont
) 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 NSFont
type used by NSFont
. The corresponding values are kept compatible between NSFont
and NSFont
.