m5x7

Crates.iom5x7
lib.rsm5x7
version1.0.0
sourcesrc
created_at2019-10-22 21:50:42.870464
updated_at2019-10-22 21:50:42.870464
descriptionDaniel Linssen's m5x7 font
homepage
repositoryhttps://github.com/boringcactus/m5x7
max_upload_size
id174756
size45,221
Melody Horn (boringcactus)

documentation

README

Daniel Linssen's m5x7 as a Rust crate

docs.rs

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. This crate, like the m5x7 font, is CC0 licensed, but giving credit to Daniel Linssen for creating the font would be appreciated.

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');
Commit count: 1

cargo fmt