AUDIO
Source snapshot · 11 November 2026

Explicit local font fallback

Complete standalone consumer

The font_fallback example uses the reusable Rust stack for five explicit samples, two font orders, three sizes, and vector/pixel rendering. The same model prepares all 60 outputs for headless export and the actual macOS window. Native select controls send bounded single-field messages, Rust preflights the full revision/source/shape/payload transition, and the frontend reconciles the prepared output. The ordinary standalone window retains its default title-bar Audio/MIDI settings popup; the visual-only model advertises no audio/MIDI devices. Native resize preserves the prepared source/face identity and focused control.

cargo test -p ravet-surface --features text,raster --test fallback --locked
cargo test -p ravet-examples --bin font_fallback --no-default-features \
  --features font-fallback --locked
# Native consumer on macOS; default live-ui and settings popup remain enabled:
cargo run -p ravet-examples --bin font_fallback --features font-fallback --locked
# Portable Rust-produced data, without creating a window:
cargo run -p ravet-examples --bin font_fallback --no-default-features \
  --features font-fallback --locked -- --export > target/font-models.json
# Owned hidden-window validation, including actual resize/popup/cleanup:
cargo run -p ravet-examples --bin font_fallback --features font-fallback --locked -- --fixture

The two tiny first-party fixtures use rectangular outlines to make exact advances/coverage/ligatures observable. Arabic uses the existing unmodified Noto/OFL fixture. These are reusable test assets, not mandatory application fonts.