pub unsafe extern "C-unwind" fn CTFontManagerCreateFontDescriptorFromData(
data: &CFData,
) -> Option<CFRetained<CTFontDescriptor>>Available on crate features
CTFontDescriptor and CTFontManager only.Expand description
Returns a font descriptor representing the font in the supplied data. Note: the font descriptor is not available through font descriptor matching.
If the data contains a font collection (TTC or OTC), only the first font in the collection will be returned.
Parameter data: A CFData containing font data.
Returns: A font descriptor created from the data or NULL if it is not a valid font.