---
title: CTFontOptions
framework: coretext
role: symbol
role_heading: Structure
path: coretext/ctfontoptions
---

# CTFontOptions

Options for font creation and descriptor matching.

## Declaration

```swift
struct CTFontOptions
```

## Overview

Overview Use these options with the functions CTFontCreateWithNameAndOptions(_:_:_:_:) and CTFontCreateWithFontDescriptorAndOptions(_:_:_:_:).

## Topics

### Constants

- [preventAutoActivation](coretext/ctfontoptions/preventautoactivation.md)
- [preferSystemFont](coretext/ctfontoptions/prefersystemfont.md)

### Initializers

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

### Type Properties

- [preventAutoDownload](coretext/ctfontoptions/preventautodownload.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Enumerations

- [CTFontUIFontType](coretext/ctfontuifonttype.md)
- [CTFontTableTag](coretext/ctfonttabletag.md)
- [CTFontTableOptions](coretext/ctfonttableoptions.md)
