[−][src]Crate m5x7
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 parsed
feature):
let glyph = m5x7::FONT.glyph('A');
Structs
FONT | The m5x7 font by Daniel Linssen, as a rusttype::Font |
Constants
BYTES | The m5x7 font by Daniel Linssen, as TTF bytes |