pub fn load_ttf_font_from_bytes(bytes: &[u8]) -> Result<Font, FontError>
Expand description

Load font from bytes array, may be use in combination with include_bytes!

let font = load_ttf_font_from_bytes(include_bytes!("font.ttf"));