<!--
{
  "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/kCTFontTraitsAttribute",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Core Text"
    ],
    "preciseIdentifier" : "c:@kCTFontTraitsAttribute"
  },
  "title" : "kCTFontTraitsAttribute"
}
-->

# kCTFontTraitsAttribute

The dictionary of font traits for stylistic information.

```
let kCTFontTraitsAttribute: CFString
```

## Discussion

See Accessing Font Traits for the list of font traits. The value associated with this key is a <doc://com.apple.documentation/documentation/CoreFoundation/CFDictionary> object.

## See Also

[`CTFontDescriptor`](/documentation/CoreText/CTFontDescriptor)

A font descriptor.



---

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)