AUDIO
Source snapshot · 12 October 2026

API reference / ravet_surface::fallback

Module fallback 

Expand description

Caller-owned local font fallback for one explicit script/directional run.

This allocating UI/worker facility probes whole Unicode 17 extended graphemes, retains original surrounding shaping context and selects only supplied fonts. No system lookup, registration, mixed bidi, paragraph layout or audio work.

Structs§

FallbackRun
Immutable visual font run retaining the exact matching face.
FallbackText
Complete immutable source/matched-face output. Cannot outlive supplied fonts. Glyph clusters preserve source bytes; ignorable source remains even without glyphs.
TextFontStack
Copied ordered references. The actual fonts remain consumer-owned.

Constants§

MAXIMUM_FALLBACK_FONTS
Maximum ordered caller-supplied faces; each retains its existing 16 MiB limit.
MAXIMUM_FALLBACK_PROBES
Maximum backend grapheme probes before whole Capacity failure.
MAXIMUM_FALLBACK_RUNS
Maximum complete merged output font runs.