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