Function CTFontGetStringEncoding

Source
pub unsafe extern "C-unwind" fn CTFontGetStringEncoding(
    font: &CTFont,
) -> CFStringEncoding
Available on crate feature CTFont only.
Expand description

Returns the best string encoding for legacy format support.

Parameter font: The font reference.

Returns: This function returns the best string encoding for the font.