---
title: kCTFontOrientationAttribute
framework: coretext
role: symbol
role_heading: Global Variable
path: coretext/kctfontorientationattribute
---

# kCTFontOrientationAttribute

The orientation for the glyphs of the font.

## Declaration

```swift
let kCTFontOrientationAttribute: CFString
```

## Discussion

Discussion 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.

## See Also

### Related Documentation

- [CTFontOrientation](coretext/ctfontorientation.md)

### Font Attribute Keys

- [kCTFontURLAttribute](coretext/kctfonturlattribute.md)
- [kCTFontNameAttribute](coretext/kctfontnameattribute.md)
- [kCTFontDisplayNameAttribute](coretext/kctfontdisplaynameattribute.md)
- [kCTFontFamilyNameAttribute](coretext/kctfontfamilynameattribute.md)
- [kCTFontStyleNameAttribute](coretext/kctfontstylenameattribute.md)
- [kCTFontTraitsAttribute](coretext/kctfonttraitsattribute.md)
- [kCTFontVariationAttribute](coretext/kctfontvariationattribute.md)
- [kCTFontSizeAttribute](coretext/kctfontsizeattribute.md)
- [kCTFontMatrixAttribute](coretext/kctfontmatrixattribute.md)
- [kCTFontCascadeListAttribute](coretext/kctfontcascadelistattribute.md)
- [kCTFontCharacterSetAttribute](coretext/kctfontcharactersetattribute.md)
- [kCTFontLanguagesAttribute](coretext/kctfontlanguagesattribute.md)
- [kCTFontBaselineAdjustAttribute](coretext/kctfontbaselineadjustattribute.md)
- [kCTFontMacintoshEncodingsAttribute](coretext/kctfontmacintoshencodingsattribute.md)
- [kCTFontFeaturesAttribute](coretext/kctfontfeaturesattribute.md)
