<!--
{
  "availability" : [
    "iOS: 3.2.0 -",
    "iPadOS: 3.2.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.5.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreText",
  "identifier" : "/documentation/CoreText/kCTFontOrientationAttribute",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Core Text"
    ],
    "preciseIdentifier" : "c:@kCTFontOrientationAttribute"
  },
  "title" : "kCTFontOrientationAttribute"
}
-->

# kCTFontOrientationAttribute

The orientation for the glyphs of the font.

```
let kCTFontOrientationAttribute: CFString
```

## Discussion

The value associated with this key is an integer represented as a <doc://com.apple.documentation/documentation/CoreFoundation/CFNumber> object containing one of the constants in [`CTFontOrientation`](/documentation/CoreText/CTFontOrientation). If you want to receive vertical metrics from a font for vertical rendering, specify [`kCTFontVerticalOrientation`](/documentation/CoreText/CTFontOrientation/kCTFontVerticalOrientation). If unspecified, the font uses its native orientation.

## See Also

[`CTFontOrientation`](/documentation/CoreText/CTFontOrientation)

The intended rendering orientation of the font for obtaining glyph metrics.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)