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

# kCTFontWidthTrait

The normalized proportion (width condense or expand) trait from the font traits dictionary.

```
let kCTFontWidthTrait: CFString
```

## Discussion

This value corresponds to the relative interglyph spacing for a given font. The value returned is a <doc://com.apple.documentation/documentation/CoreFoundation/CFNumber> object representing a float between `-1.0` and `1.0`. The value of `0.0` corresponds to regular glyph spacing, and negative values represent condensed glyph spacing.

---

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)