Expand description
Zenith-owned text-layout types and the TextLayoutEngine trait.
No third-party shaping or font types appear here. All shaping engines
implement TextLayoutEngine and hide their dependencies behind it.
Structs§
- Fallback
Result - Result of fallback shaping: the shaped runs plus any characters that NO registered face (primary or fallback) could supply a glyph for.
- Positioned
Glyph - One positioned glyph, baseline-relative, measured from the run origin in pixels.
- Shape
Request - A request to shape a run of text into positioned glyphs.
- Zenith
Glyph Run - A shaped run of text in a single resolved font.
Enums§
- Text
Direction - Base writing direction for a shaping request.
Traits§
- Text
Layout Engine - Trait implemented by every shaping engine.