Function font_source_get_bytes

Source
pub fn font_source_get_bytes(
    font_family: &StyleFontFamily,
    fc_cache: &FcFontCache,
) -> Option<LoadedFontSource>
Expand description

Returns the bytes of the font (loads the font from the system in case it is a FontSource::System font). Also returns the index into the font (in case the font is a font collection).