Function CTFontCollectionCreateCopyWithFontDescriptors

Source
pub unsafe extern "C-unwind" fn CTFontCollectionCreateCopyWithFontDescriptors(
    original: &CTFontCollection,
    query_descriptors: Option<&CFArray>,
    options: Option<&CFDictionary>,
) -> CFRetained<CTFontCollection>
Available on crate feature CTFontCollection only.
Expand description

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

Parameter original: The original font collection reference.

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

Parameter options: The options dictionary. See constant option keys.

Returns: This function creates 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.