<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreText",
  "identifier" : "/documentation/CoreText/CTFontOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core Text"
    ],
    "preciseIdentifier" : "c:@E@CTFontOptions"
  },
  "title" : "CTFontOptions"
}
-->

# CTFontOptions

Options for font creation and descriptor matching.

```
struct CTFontOptions
```

## Overview

Use these options with the functions [`CTFontCreateWithNameAndOptions(_:_:_:_:)`](/documentation/CoreText/CTFontCreateWithNameAndOptions(_:_:_:_:)) and [`CTFontCreateWithFontDescriptorAndOptions(_:_:_:_:)`](/documentation/CoreText/CTFontCreateWithFontDescriptorAndOptions(_:_:_:_:)).

## Topics

### Constants

[`kCTFontOptionsDefault`](/documentation/CoreText/CTFontOptions/kCTFontOptionsDefault)

Default options are used.

[`preventAutoActivation`](/documentation/CoreText/CTFontOptions/preventAutoActivation)

Prevents automatic font activation.

[`preferSystemFont`](/documentation/CoreText/CTFontOptions/preferSystemFont)

Font matching prefers to match Apple system fonts.

### Initializers

[`init(rawValue:)`](/documentation/CoreText/CTFontOptions/init(rawValue:))

Creates a font options structure with the specified raw value.



---

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)