---
title: kCTFontStyleNameAttribute
framework: coretext
role: symbol
role_heading: Global Variable
path: coretext/kctfontstylenameattribute
---

# kCTFontStyleNameAttribute

The style name of the font.

## Declaration

```swift
let kCTFontStyleNameAttribute: CFString
```

## Discussion

Discussion This name represents the designer’s description of the font’s style. The value associated with this key is a CFString object.

## See Also

### Font Attribute Keys

- [kCTFontURLAttribute](coretext/kctfonturlattribute.md)
- [kCTFontNameAttribute](coretext/kctfontnameattribute.md)
- [kCTFontDisplayNameAttribute](coretext/kctfontdisplaynameattribute.md)
- [kCTFontFamilyNameAttribute](coretext/kctfontfamilynameattribute.md)
- [kCTFontTraitsAttribute](coretext/kctfonttraitsattribute.md)
- [kCTFontVariationAttribute](coretext/kctfontvariationattribute.md)
- [kCTFontSizeAttribute](coretext/kctfontsizeattribute.md)
- [kCTFontMatrixAttribute](coretext/kctfontmatrixattribute.md)
- [kCTFontCascadeListAttribute](coretext/kctfontcascadelistattribute.md)
- [kCTFontCharacterSetAttribute](coretext/kctfontcharactersetattribute.md)
- [kCTFontLanguagesAttribute](coretext/kctfontlanguagesattribute.md)
- [kCTFontBaselineAdjustAttribute](coretext/kctfontbaselineadjustattribute.md)
- [kCTFontMacintoshEncodingsAttribute](coretext/kctfontmacintoshencodingsattribute.md)
- [kCTFontFeaturesAttribute](coretext/kctfontfeaturesattribute.md)
- [kCTFontFeatureSettingsAttribute](coretext/kctfontfeaturesettingsattribute.md)
