embedded-graphics-unicodefonts

Crates.ioembedded-graphics-unicodefonts
lib.rsembedded-graphics-unicodefonts
version0.2.0
created_at2025-03-25 19:31:02.223437+00
updated_at2025-09-06 16:37:53.325196+00
descriptionMonospaced embedded-graphics fonts with more glyphs
homepagehttps://github.com/j-g00da/embedded-graphics-unicodefonts
repositoryhttps://github.com/j-g00da/embedded-graphics-unicodefonts
max_upload_size
id1605667
size5,647,456
Jagoda Estera Ślązak (j-g00da)

documentation

README

embedded-graphics-unicodefonts

Rust crate for embedded-graphics fonts with larger range of unicode characters such as drawing glyphs or braille. Created for Mousefood.

FontAtlas System

Fonts with _atlas suffix use a FontAtlas instead of StrGlyphMapping for glyph lookups, providing up to 80x faster performance compared to non-atlas fonts.

use embedded_graphics_unicodefonts::mono_6x13_atlas;

let font = mono_6x13_atlas();

Both standard MonoFont constants and atlas-backed functions are available for each font size.

Example

MONO_6X10 (replaces embedded-graphics::mono_font::ascii::FONT_6X10)

MONO_6X10

Generated using embedded-graphics/bdf from xorg misc-misc font.

All fonts are generated using tools/bdf-atlas-converter/generate-fonts.sh, which uses the bdf-atlas-converter tool. This CLI can also be used to generate embedded fonts from user-supplied BDF files. Existing fonts are sourced from from xorg misc-misc font.

Commit count: 8

cargo fmt