Returns a copy of the original collection augmented with the given new font descriptors.


func CTFontCollectionCreateCopyWithFontDescriptors(_ original: CTFontCollection, _ queryDescriptors: CFArray?, _ options: CFDictionary?) -> CTFontCollection



The original font collection reference.


An array of font descriptors to augment those of the original collection.


The options dictionary. For possible values, see Constants.

Return Value

A copy of the original font collection augmented by the new font descriptors and options.


The new font descriptors are merged with the existing descriptors to create a single set.

See Also

Creating Font Collections

func CTFontCollectionCreateFromAvailableFonts(CFDictionary?) -> CTFontCollection

Returns a new font collection containing all available fonts.

func CTFontCollectionCreateWithFontDescriptors(CFArray?, CFDictionary?) -> CTFontCollection

Returns a new font collection based on the given array of font descriptors.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software