Function CTFontCollectionCopyQueryDescriptors

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

Returns the array of descriptors to match.

Parameter collection: The font collection reference.

Returns: This function returns a retained reference to the array of descriptors to be used to query (match) the system font database. The return value is undefined if CTFontCollectionCreateFromAvailableFonts was used to create the collection.