This crate statically embeds the m5x7 font by Daniel Linssen. This allows, e.g., text rendering libraries to create examples that don't require an external font dependency.
Cache construction with piston2d-graphics:
let cache = GlyphCache::from_bytes(m5x7::BYTES, (), texture_settings);
Direct access with rusttype (requires the
let glyph = m5x7::FONT.glyph('A');
The m5x7 font by Daniel Linssen, as a rusttype::Font
The m5x7 font by Daniel Linssen, as TTF bytes