Modules§
Structs§
- Cache
Key - Deterministic cache key for shaped text.
- Font
Axis Info - Describes a single variable font axis.
- Font
Metrics - Font metrics for a given style.
- Glyph
Image - A rasterized glyph image.
- Glyph
Instance - A positioned glyph ready for rendering.
- Line
Info - Information about a single line of laid-out text.
- Open
Type Feature - An OpenType feature to enable during shaping.
- Runic
Text Engine - The main text shaping and layout engine.
- Shaped
Text - The result of shaping and laying out text.
- Text
Decorations - Text decoration flags.
- Text
Path - A Bezier spline path for positioning and rotating glyphs along arbitrary curves.
- Text
Span - A span of text or an inline UI portal with associated styling.
- Text
Style - Complete text styling for a span of text.
- Variable
Axis - A variable font axis setting.
Enums§
- Layout
Boundary - Boundary shapes used for non-rectangular text wrapping.
- Line
Height - How line height is computed.
- Portal
Alignment - Vertical alignment strategies for inline UI portals within a text line.
- Render
Mode - Glyph rasterization mode.
- Runic
Path Segment - A segment in a glyph vector outline path.
- Shaping
Error - Errors that can occur during text shaping and layout.
- Text
Align - Text alignment within a line.
- Text
Overflow - Text overflow handling mode.
- Text
Span Kind - Identifies the layout behavior of a TextSpan (standard text vs inline portal).
Constants§
- DEFAULT_
FONT_ SIZE - Default font size in pixels.
- DEFAULT_
LINE_ HEIGHT - Default line height multiplier.
Functions§
- test_
engine - Get or create the shared test engine.