These constants represent the stylistic class values of the font.


struct CTFontStylisticClass


CTFontStylisticClass classifies certain stylistic qualities of the font. These values correspond closely to the font class values in the OpenType OS/2 table. The class values are bundled in the upper four bits of the CTFontSymbolicTraits and can be obtained via classMaskTrait.


Conforms To

See Also

Font Traits

Font Trait Constants

These constants are keys for accessing font traits from a font descriptor.

struct CTFontSymbolicTraits

These constants represent the symbolic representation of stylistic font attributes.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software