Glyphr
This library focus is not to be the fastest, but one of the most beautiful in the embedded world.
Features
- Completely intuitive
- You decide how pixel are written on the screen
- No heap allocation
- Compile time font bitmaps generation
- Full Unicode support
How To Build
To get started visit glyphr-macros for detailed instructions on how to generate fonts, then proceed in this page.
How To Use
To decide how to write pixels you can use BufferTarget (only if you're using a [u32] array). If you're using a custom target you need to implement the RenderTarget trait on it.
Then you create the struct Glyphr:
use ;
let mut target = new;
let conf = RenderConfig ;
let renderer = with_config;
and to render anything you just call:
use ;
renderer.render.unwrap;
[!TIP] If you want to run an example on your machine you can just do:
cargo run --example glyphr_test_window --features window