Stores information about specific loaded font, including number of available characters, and each character width and height.
Creates a new font for specific path.
Returns height of every glyph
Returns width of every glyph
Returns number of available characters in the font
pub fn get_char_owned<'b>(&self, c: char) -> Option<Glyph<'b>>[src]
pub fn print_char(&self, c: char)[src]
Prints specified character to standard output using
impl RefUnwindSafe for Font
impl UnwindSafe for Font
type Error = Infallible
The type returned in the event of a conversion error.