---
title: CTFontFormat
framework: coretext
role: symbol
role_heading: Enumeration
path: coretext/ctfontformat
---

# CTFontFormat

The recognized format of the font.

## Declaration

```swift
enum CTFontFormat
```

## Overview

Overview Use the values of this enumeration for kCTFontFormatAttribute.

## Topics

### Font Formats

- [CTFontFormat.unrecognized](coretext/ctfontformat/unrecognized.md)
- [CTFontFormat.openTypePostScript](coretext/ctfontformat/opentypepostscript.md)
- [CTFontFormat.openTypeTrueType](coretext/ctfontformat/opentypetruetype.md)
- [CTFontFormat.trueType](coretext/ctfontformat/truetype.md)
- [CTFontFormat.postScript](coretext/ctfontformat/postscript.md)
- [CTFontFormat.bitmap](coretext/ctfontformat/bitmap.md)

### Initializers

- [init(rawValue:)](coretext/ctfontformat/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

- [kCTFontFormatAttribute](coretext/kctfontformatattribute.md)

### Accessing Font Attributes

- [Font Attributes](coretext/font-attributes.md)
- [CTFontOrientation](coretext/ctfontorientation.md)
- [CTFontPriority](coretext/ctfontpriority.md)
