Skip to content

fix(gpu): preserve icon fallback with shared text fonts - #76

Merged
piny4man merged 1 commit into
mainfrom
fix/icon-font-fallback
Sep 13, 2026
Merged

piny4man merged 1 commit into
mainfrom
fix/icon-font-fallback

Conversation

@piny4man

@piny4man piny4man commented Sep 13, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Preserve the requested text font and override precedence while resolving missing icons through fallback fonts in both GPU frontends.
  • Fit icons within the primary text cell and draw a generic app badge when no icon font is available.
  • Add deterministic font fixtures and regression tests; document successful native and Rio live smoke tests in docs/icon-font-fallback.md.

Test plan

  • cargo fmt --all -- --check
  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo build --all-targets
  • cargo test --all (299 tests passed)
  • Native and Rio live smoke tests with a shared DejaVu Sans Mono theme, with and without an available Nerd Font

Keep the requested text font and its cell metrics while resolving missing
glyphs from fallback fonts shared by both GPU frontends. Fit icons to the
text cell and draw a generic app badge when no font provides an icon.

Add deterministic font fixtures and regression coverage for selection,
sizing, and atlas reuse, and record native and Rio live smoke tests.
@piny4man
piny4man merged commit 8470a7c into main Sep 13, 2026
1 check passed
@piny4man
piny4man deleted the fix/icon-font-fallback branch September 13, 2026 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant