Skip to main content

Crate wgame_typography

Crate wgame_typography 

Source
Expand description

CPU font loading, shaping metrics, and cached glyph rasterization.

Font owns validated font data, TextMetrics shapes text with swash, and FontAtlas caches glyph images. Rasterization supports monochrome outlines. Color emoji/bitmap-only fonts, font fallback, automatic line wrapping, bidirectional paragraph layout, and editable-text navigation are not implemented.

Re-exports§

pub use swash;

Structs§

Font
A font loaded from font data.
FontAtlas
GlyphImageInfo
RasterSettings
TextMetrics