Expand description
Backend contracts for reusable text preparation and glyph-run output.
Layout cursors count graphemes; glyph clusters count UTF-16 code units. Implementations use ordinary Rust ownership instead of explicit disposal.
Structs§
- Delegate
Text Measurer Factory - Adapter for renderers that already expose a string/font measurement function.
- Pretext
Font Descriptor - The CSS-like font subset accepted by text preparation backends.
- Pretext
Font Parser - Pretext
Shape Options - A value snapshot: changing the caller’s options cannot mutate cached output.
- Pretext
Shaped Font Run - Pretext
Shaped Glyph - Pretext
Shaped Run - Immutable positioned glyphs and the font runs that produced them.
Enums§
- Pretext
Error - A recoverable backend or input error.
- Pretext
Glyph RunKind - Pretext
Text Direction
Traits§
- IPretext
Text Measurer - Measures an entire string in one fixed font, including contextual advances.
- IPretext
Text Measurer Factory - An explicitly registered, platform-independent measurement backend.
- IPretext
Text Shaper - IPretext
Text Shaper Factory