---
title: kCTFontWeightTrait
framework: coretext
role: symbol
role_heading: Global Variable
path: coretext/kctfontweighttrait
---

# kCTFontWeightTrait

The normalized weight trait from the font traits dictionary.

## Declaration

```swift
let kCTFontWeightTrait: CFString
```

## Discussion

Discussion The value returned is a CFNumber representing a float value between -1.0 and 1.0 for normalized weight. The value of 0.0 corresponds to the regular or medium font weight.

## See Also

### Font Trait Keys

- [kCTFontSymbolicTrait](coretext/kctfontsymbolictrait.md)
- [kCTFontWidthTrait](coretext/kctfontwidthtrait.md)
- [kCTFontSlantTrait](coretext/kctfontslanttrait.md)
