Function CTFontCollectionCreateMatchingFontDescriptors

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

Returns an array of font descriptors matching the collection.

Parameter collection: The font collection reference.

Returns: An array of CTFontDescriptors matching the collection definition or NULL if there are none.