Crate fontdue

source ·
Expand description

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

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


  • Tools for laying out strings of text.


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

Type Aliases§