Skip to main content

Crate lumentype

Crate lumentype 

Source
Expand description

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

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

Re-exports§

pub use crate::coord::*;

Modules§

color
coord
layout
platform
renderer

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.
GlyphRasterConfig
Configuration for rasterizing a glyph.
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>.