prompts: add Wine/Proton GDI font fallbacks and F1–F12/nav keycap labels #143
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/gamingwithhomie--larp!143
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-143"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@greedtv92 on GitHub · 2026-12-05 19:42 UTC · original
greedtv92:feat/prompts-wine-fonts-and-keys→main· +52 −6 · 2 files · 1 commits · merged 2026-12-05 20:42 UTCSplit out of #113 (Part 1 of 3 — Prompts) per review feedback. Small, zero-risk addition to
larp-game::promptson top of #109:Changes (+52 / -6)
crates/larp-game/src/prompts/font.rs): probes GDI faces viaGetTextFaceWin order (Segoe UI->Tahomafor letters;Segoe UI Symbol->DejaVu Sans->MS Gothicfor arrow/Enter/Backspace signs), ported from Darner (tyr0nsur/Darner, GPL-3.0-or-later). Prevents missing/broken prompt glyphs on Linux/Proton where Segoe faces are absent.crates/larp-game/src/prompts.rs): adds labels forCaps,PgUp,PgDn,End,Home,Ins,Del, andF1–F12so customcontrols.inibindings to those keys render keycaps instead of falling back to stock Xbox icons.Verification
cargo test -p larp-game --lib prompts— 60/60 passed (both Keyboard KeyCaps and PlayStation symbol suites), 0 warnings.LARP_PROMPTSbehavior completely untouched.