kCTFontPriorityAttribute
The font priority used by font descriptors when resolving duplicates and sorting match results.
Declaration
let kCTFontPriorityAttribute: CFStringDiscussion
The value associated with this key is an integer represented as a CFNumber object containing one of the values enumerated in CTFontPriority. The higher the value, the higher the priority of the font. Only registered fonts have a priority. Unregistered font descriptors return NULL.
See Also
Related Documentation
Font Attribute Keys
kCTFontURLAttributekCTFontNameAttributekCTFontDisplayNameAttributekCTFontFamilyNameAttributekCTFontStyleNameAttributekCTFontTraitsAttributekCTFontVariationAttributekCTFontSizeAttributekCTFontMatrixAttributekCTFontCascadeListAttributekCTFontCharacterSetAttributekCTFontLanguagesAttributekCTFontBaselineAdjustAttributekCTFontMacintoshEncodingsAttributekCTFontFeaturesAttribute