CTFontCollection
A font collection.
Declaration
class CTFontCollectionOverview
A font collection represents a group of font descriptors taken together as a single object.
Font collections provide the capabilities of font enumeration, access to global and custom font collections, and access to the font descriptors comprising the collection.
Topics
Creating Font Collections
CTFontCollectionCreateFromAvailableFonts(_:)CTFontCollectionCreateWithFontDescriptors(_:_:)CTFontCollectionCreateCopyWithFontDescriptors(_:_:_:)CTFontCollectionCreateMutableCopy(_:)
Excluding and Including Font Descriptors
CTFontCollectionCopyExclusionDescriptors(_:)CTFontCollectionCopyQueryDescriptors(_:)CTFontCollectionSetExclusionDescriptors(_:_:)CTFontCollectionSetQueryDescriptors(_:_:)
Getting Font Descriptors
CTFontCollectionCreateMatchingFontDescriptors(_:)CTFontCollectionCreateMatchingFontDescriptorsWithOptions(_:_:)CTFontCollectionCreateMatchingFontDescriptorsSortedWithCallback(_:_:_:)CTFontCollectionCreateMatchingFontDescriptorsForFamily(_:_:_:)CTFontCollectionSortDescriptorsCallback