CTFontCollectionSetQueryDescriptors(_:_:)
Replaces the array of descriptors for font matching.
Declaration
func CTFontCollectionSetQueryDescriptors(_ collection: CTMutableFontCollection, _ descriptors: CFArray?)Parameters
- collection:
The font collection reference.
- descriptors:
An array of Ctfontdescriptor objects. Passing in
NULLrepresents an empty collection, which sets the matching descriptors toNULL.