Global Variable

kCTFontOrientationAttribute

Declaration

let kCTFontOrientationAttribute: CFString

Discussion

Key to specify a particular orientation for the glyphs of the font. The value associated with this key is an integer represented as a CFNumber object containing one of the constants in CTFontOrientation. If you want to receive vertical metrics from a font for vertical rendering, specify kCTFontVerticalOrientation. If unspecified, the font uses its native orientation.

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