Skip to main content

font_glyph

Function font_glyph 

Source
fn font_glyph(res: &Resources, font: i32, c: char) -> Option<(i32, f64)>
Expand description

Glyph tile for c in font, falling back to other Blood fonts when the font lacks it (the big menu font has no digits or punctuation). Returns (tile, y offset to keep the glyph on the same baseline).