---
title: CTFontOrientation
framework: coretext
role: symbol
role_heading: Enumeration
path: coretext/ctfontorientation
---

# CTFontOrientation

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

## Declaration

```swift
enum CTFontOrientation
```

## Overview

Overview Use the values of this enumeration for kCTFontOrientationAttribute.

## Topics

### Font Orientations

- [CTFontOrientation.default](coretext/ctfontorientation/default.md)
- [CTFontOrientation.horizontal](coretext/ctfontorientation/horizontal.md)
- [CTFontOrientation.vertical](coretext/ctfontorientation/vertical.md)

### Deprecated Constants

- [kCTFontDefaultOrientation](coretext/ctfontorientation/kctfontdefaultorientation.md)
- [kCTFontHorizontalOrientation](coretext/ctfontorientation/kctfonthorizontalorientation.md)
- [kCTFontVerticalOrientation](coretext/ctfontorientation/kctfontverticalorientation.md)

### Initializers

- [init(rawValue:)](coretext/ctfontorientation/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Related Documentation

- [kCTFontOrientationAttribute](coretext/kctfontorientationattribute.md)

### Accessing Font Attributes

- [Font Attributes](coretext/font-attributes.md)
- [CTFontFormat](coretext/ctfontformat.md)
- [CTFontPriority](coretext/ctfontpriority.md)
