---
title: kCTFontWidthTrait
framework: coretext
role: symbol
role_heading: Global Variable
path: coretext/kctfontwidthtrait
---

# kCTFontWidthTrait

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

## Declaration

```swift
let kCTFontWidthTrait: CFString
```

## Discussion

Discussion This value corresponds to the relative interglyph spacing for a given font. The value returned is a 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.

## See Also

### Font Trait Keys

- [kCTFontSymbolicTrait](coretext/kctfontsymbolictrait.md)
- [kCTFontWeightTrait](coretext/kctfontweighttrait.md)
- [kCTFontSlantTrait](coretext/kctfontslanttrait.md)
