Crate glyphr

Crate glyphr 

Source
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 a toml file as specified in README.md

Structs§

BufferTarget
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.
RenderConfig
Configuration for text rendering.
SdfConfig
Configuration for SDF rendering (only used with SDF fonts).
TextAlign
Text alignment options.

Enums§

AlignH
Used to describe alignment on X axis
AlignV
Used to describe alignment on Y axis
BitmapFormat
Defines how the glyphs are stored in the bitmaps
GlyphrError

Traits§

RenderTarget
Trait used to make a target writable by Glyphr.