Crate fontdue

Available on crate feature dep_fontdue only.
Expand description

fontdue A simple no_std font parser and rasterizer.


Fontdue is a font parser, rasterizer, and layout tool.

This is a no_std crate, but still requires the alloc crate.

Modules§

layout
Tools for laying out strings of text.

Structs§

Font
Represents a font. Fonts are immutable after creation and owns its own copy of the font data.
FontSettings
Settings for controlling specific font and layout behavior.
LineMetrics
Metrics associated with line positioning.
Metrics
Encapsulates all layout information associated with a glyph for a fixed scale.
OutlineBounds
Defines the bounds for a glyph’s outline in subpixels. A glyph’s outline is always contained in its bitmap.

Type Aliases§

FontResult
Alias for Result<T, &’static str>.