---
title: kCTFontVariationAttribute
framework: coretext
role: symbol
role_heading: Global Variable
path: coretext/kctfontvariationattribute
---

# kCTFontVariationAttribute

The dictionary of font variation.

## Declaration

```swift
let kCTFontVariationAttribute: CFString
```

## Discussion

Discussion If specified in a font descriptor, fonts with the specified axes are primary match candidates; if no such fonts exist, this attribute is ignored. The value associated with this key is a CFDictionary object.

## See Also

### Font Attribute Keys

- [kCTFontURLAttribute](coretext/kctfonturlattribute.md)
- [kCTFontNameAttribute](coretext/kctfontnameattribute.md)
- [kCTFontDisplayNameAttribute](coretext/kctfontdisplaynameattribute.md)
- [kCTFontFamilyNameAttribute](coretext/kctfontfamilynameattribute.md)
- [kCTFontStyleNameAttribute](coretext/kctfontstylenameattribute.md)
- [kCTFontTraitsAttribute](coretext/kctfonttraitsattribute.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)
