<!--
{
  "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/CTFontDescriptorCreateCopyWithFeature(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Text"
    ],
    "preciseIdentifier" : "c:@F@CTFontDescriptorCreateCopyWithFeature"
  },
  "title" : "CTFontDescriptorCreateCopyWithFeature(_:_:_:)"
}
-->

# CTFontDescriptorCreateCopyWithFeature(_:_:_:)

Copies a font descriptor with new feature settings.

```
func CTFontDescriptorCreateCopyWithFeature(_ original: CTFontDescriptor, _ featureTypeIdentifier: CFNumber, _ featureSelectorIdentifier: CFNumber) -> CTFontDescriptor
```

## Parameters

`original`

The original font descriptor.

`featureTypeIdentifier`

The feature type identifier.

`featureSelectorIdentifier`

The feature selector identifier.

## Return Value

A copy of the original font descriptor modified with the given feature settings.

## Discussion

This is a convenience method to toggle more easily the state of individual features.

---

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)