Skip to main content

Crate cvkg_runic_text

Crate cvkg_runic_text 

Source

Modules§

emoji
knuth_plass
msdf
subpixel

Structs§

CacheKey
Deterministic cache key for shaped text.
FontAxisInfo
Describes a single variable font axis.
FontMetrics
Font metrics for a given style.
GlyphImage
A rasterized glyph image.
GlyphInstance
A positioned glyph ready for rendering.
LineInfo
Information about a single line of laid-out text.
OpenTypeFeature
An OpenType feature to enable during shaping.
RunicTextEngine
The main text shaping and layout engine.
ShapedText
The result of shaping and laying out text.
TextDecorations
Text decoration flags.
TextPath
A Bezier spline path for positioning and rotating glyphs along arbitrary curves.
TextSpan
A span of text or an inline UI portal with associated styling.
TextStyle
Complete text styling for a span of text.
VariableAxis
A variable font axis setting.

Enums§

LayoutBoundary
Boundary shapes used for non-rectangular text wrapping.
LineHeight
How line height is computed.
PortalAlignment
Vertical alignment strategies for inline UI portals within a text line.
RenderMode
Glyph rasterization mode.
RunicPathSegment
A segment in a glyph vector outline path.
ShapingError
Errors that can occur during text shaping and layout.
TextAlign
Text alignment within a line.
TextOverflow
Text overflow handling mode.
TextSpanKind
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.