Global Variable


The dictionary of font traits for stylistic information.


let kCTFontTraitsAttribute: CFString


See Accessing Font Traits for the list of font traits. The value associated with this key is a CFDictionary object.

See Also

Font Attribute Keys

let kCTFontURLAttribute: CFString

The font URL from the font descriptor.

let kCTFontNameAttribute: CFString

The PostScript name from the font descriptor.

let kCTFontDisplayNameAttribute: CFString

The name used to display the font.

let kCTFontFamilyNameAttribute: CFString

The font family name from the font descriptor.

let kCTFontStyleNameAttribute: CFString

The style name of the font.

let kCTFontVariationAttribute: CFString

The dictionary of font variation.

let kCTFontMatrixAttribute: CFString

The font transformation matrix when creating a font.

let kCTFontCascadeListAttribute: CFString

The cascade list used for a font reference.

let kCTFontCharacterSetAttribute: CFString

The Unicode character coverage set for a font reference.

let kCTFontLanguagesAttribute: CFString

A list of covered languages for a font reference.

let kCTFontBaselineAdjustAttribute: CFString

The baseline adjustment for a font reference.

let kCTFontMacintoshEncodingsAttribute: CFString

The Macintosh encodings for a font reference.

let kCTFontFeaturesAttribute: CFString

The font features for a font reference.

let kCTFontFeatureSettingsAttribute: CFString

The font features settings for a font reference.

let kCTFontFixedAdvanceAttribute: CFString

A fixed advance to be used for a font reference.

let kCTFontOrientationAttribute: CFString

The orientation for the glyphs of the font.

let kCTFontFormatAttribute: CFString

The recognized format of the font.

let kCTFontRegistrationScopeAttribute: CFString

The font descriptor's registration scope.

let kCTFontPriorityAttribute: CFString

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

let kCTFontDownloadableAttribute: CFString

The font downloadable state.