Function CTFontCollectionCreateWithFontDescriptors

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

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

Parameter queryDescriptors: An array of font descriptors to use for matching. May be NULL, in which case the matching descriptors will be NULL.

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

Returns: This function creates a new collection based on the provided font descriptors. The contents of this collection is defined by matching the provided descriptors against all available font descriptors.