Expand description
§Glyphr
This library focus is not to be the fastest, but one of the most beautiful in the embedded world.
Macros§
- generate_
font - Macro used to generate a font with data direcly in the code
- generate_
fonts_ from_ toml - The underlying process is the same as
generate_font!macro, but can do more at the same time by specifing fonts in atomlfile as specified inREADME.md
Structs§
- Buffer
Target - Built-in implementation for u32 slice buffers.
- Font
- Contains informations that are useful for every glyph
- Glyph
- Contains informations that are bound to the single glyph
- Glyphr
- Main renderer struct. With this you can render code.
- Render
Config - Configuration for text rendering.
- SdfConfig
- Configuration for SDF rendering (only used with SDF fonts).
- Text
Align - Text alignment options.
Enums§
- AlignH
- Used to describe alignment on X axis
- AlignV
- Used to describe alignment on Y axis
- Bitmap
Format - Defines how the glyphs are stored in the bitmaps
- Glyphr
Error
Traits§
- Render
Target - Trait used to make a target writable by Glyphr.