Module fontdue

Module fontdue 

Source
Expand description

Glyph rasterization using fontdue.

Structs§

LineMetrics
Metrics associated with line positioning.
Metrics
Encapsulates all layout information associated with a glyph for a fixed scale.

Traits§

FontdueRenderTarget
Surface that can blend individual pixels for text rendering.

Functions§

line_metrics
Retrieve horizontal line metrics for font_data at px height.
rasterize_glyph
Rasterize ch from the provided font data at the given pixel height.
render_text
Render UTF‑8 text onto the provided FontdueRenderTarget.