Function gfx_glyph::font
[−]
[src]
pub fn font<'a, B: Into<SharedBytes<'a>>>(
font_bytes: B
) -> Result<Font<'a>, &'static str>
Returns a Font from font bytes info or an error reason.