<!--
{
  "documentType" : "article",
  "framework" : "CoreText",
  "identifier" : "/documentation/CoreText/font-attributes",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Font Attributes"
}
-->

# Font Attributes

The keys for accessing font attributes from a font descriptor.

## Topics

### Font Attribute Keys

[`let kCTFontURLAttribute: CFString`](/documentation/CoreText/kCTFontURLAttribute)

The font URL from the font descriptor.

[`let kCTFontNameAttribute: CFString`](/documentation/CoreText/kCTFontNameAttribute)

The PostScript name from the font descriptor.

[`let kCTFontDisplayNameAttribute: CFString`](/documentation/CoreText/kCTFontDisplayNameAttribute)

The name used to display the font.

[`let kCTFontFamilyNameAttribute: CFString`](/documentation/CoreText/kCTFontFamilyNameAttribute)

The font family name from the font descriptor.

[`let kCTFontStyleNameAttribute: CFString`](/documentation/CoreText/kCTFontStyleNameAttribute)

The style name of the font.

[`let kCTFontTraitsAttribute: CFString`](/documentation/CoreText/kCTFontTraitsAttribute)

The dictionary of font traits for stylistic information.

[`let kCTFontVariationAttribute: CFString`](/documentation/CoreText/kCTFontVariationAttribute)

The dictionary of font variation.

[`let kCTFontSizeAttribute: CFString`](/documentation/CoreText/kCTFontSizeAttribute)

The font point size.

[`let kCTFontMatrixAttribute: CFString`](/documentation/CoreText/kCTFontMatrixAttribute)

The font transformation matrix when creating a font.

[`let kCTFontCascadeListAttribute: CFString`](/documentation/CoreText/kCTFontCascadeListAttribute)

The cascade list used for a font reference.

[`let kCTFontCharacterSetAttribute: CFString`](/documentation/CoreText/kCTFontCharacterSetAttribute)

The Unicode character coverage set for a font reference.

[`let kCTFontLanguagesAttribute: CFString`](/documentation/CoreText/kCTFontLanguagesAttribute)

A list of covered languages for a font reference.

[`let kCTFontBaselineAdjustAttribute: CFString`](/documentation/CoreText/kCTFontBaselineAdjustAttribute)

The baseline adjustment for a font reference.

[`let kCTFontMacintoshEncodingsAttribute: CFString`](/documentation/CoreText/kCTFontMacintoshEncodingsAttribute)

The Macintosh encodings for a font reference.

[`let kCTFontFeaturesAttribute: CFString`](/documentation/CoreText/kCTFontFeaturesAttribute)

The font features for a font reference.

[`let kCTFontFeatureSettingsAttribute: CFString`](/documentation/CoreText/kCTFontFeatureSettingsAttribute)

The font features settings for a font reference.

[`let kCTFontFixedAdvanceAttribute: CFString`](/documentation/CoreText/kCTFontFixedAdvanceAttribute)

A fixed advance to be used for a font reference.

[`let kCTFontOrientationAttribute: CFString`](/documentation/CoreText/kCTFontOrientationAttribute)

The orientation for the glyphs of the font.

[`let kCTFontFormatAttribute: CFString`](/documentation/CoreText/kCTFontFormatAttribute)

The recognized format of the font.

[`let kCTFontRegistrationScopeAttribute: CFString`](/documentation/CoreText/kCTFontRegistrationScopeAttribute)

The font descriptor’s registration scope.

[`let kCTFontPriorityAttribute: CFString`](/documentation/CoreText/kCTFontPriorityAttribute)

The font priority used by font descriptors when resolving duplicates and sorting match results.

[`let kCTFontEnabledAttribute: CFString`](/documentation/CoreText/kCTFontEnabledAttribute)

The font enabled state.

[`let kCTFontDownloadableAttribute: CFString`](/documentation/CoreText/kCTFontDownloadableAttribute)

The font downloadable state.

[`let kCTFontDownloadedAttribute: CFString`](/documentation/CoreText/kCTFontDownloadedAttribute)

The download state.

## See Also

[`func CTFontDescriptorCopyAttribute(CTFontDescriptor, CFString) -> CFTypeRef?`](/documentation/CoreText/CTFontDescriptorCopyAttribute(_:_:))

Returns the value associated with an arbitrary attribute.

[`func CTFontDescriptorCopyAttributes(CTFontDescriptor) -> CFDictionary`](/documentation/CoreText/CTFontDescriptorCopyAttributes(_:))

Returns the attributes dictionary of the font descriptor.

[`func CTFontCopyAttribute(CTFont, CFString) -> CFTypeRef?`](/documentation/CoreText/CTFontCopyAttribute(_:_:))

Returns the value associated with an arbitrary attribute of the given font.



---

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)