You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Linux: keyboard-symbol fallback leaves U+238B (⎋) as tofu — plex_keyboard_symbols_use_real_glyphs fails on stock Ubuntu #2
---- text::tests::plex_keyboard_symbols_use_real_glyphs stdout ----
panicked at crates/rune/src/text.rs:768:37:
assertion `left != right` failed: missing symbol in "⌘⇧⏎⌥⌃⎋⌫←↑→↓↵"
left: 0
right: 0
79 passed, 1 failed, 1 ignored. Everything else (all 9 examples' scenes, first-pixels, scripted send run) renders fine, so this is isolated to one glyph.
Root cause (probed with skrifa 0.44.0 against system fonts): DejaVu Sans has no U+238B. All other 11 symbols resolve; only ⎋ maps to 0:
register_symbol_fallbacks loads dejavusans (+ notosanssymbols, absent on stock Ubuntu), the DejaVu Sans family resolves, and shaping stops there — ⎋ stays tofu. Any keybind UI showing ⎋ (e.g. shortcut recorders) will render a missing glyph on such systems.
Possible directions (leaving the call to you — this is your hot zone): extend SYMBOL_FONT_FILES with a wider-coverage fallback present on stock distros, or fall through per-glyph to the next loaded family when the first maps to 0. Happy to re-run the test + snapshots on this Linux box for any candidate fix.
Fixed on dev in 20b63df. DejaVu Sans Mono (which has U+238B) now follows DejaVu Sans in the Linux symbol fallbacks, and fallback fonts are also looked up among the files fc-list reports.
Thanks for the probe output, it pointed straight at the gap. If you get a chance to rerun plex_keyboard_symbols_use_real_glyphs on that Ubuntu box, let us know if it still fails.
Activity
Linux keyboard symbols: fall back to FreeSerif for U+238B
Linux keyboard symbols: fall back to FreeSerif for U+238B
Linux keyboard symbols: fall back to FreeSerif for U+238B
Linux keyboard symbols: fall back to FreeSerif for U+238B
Linux icons: session-theme + Inherits lookup; single instance via org…
Linux icons: session-theme + Inherits lookup; single instance via org…
Linux icons: session-theme + Inherits lookup; single instance via org…
Linux icons: session-theme + Inherits lookup; single instance via org…
Linux icons: session-theme + Inherits lookup; single instance via org…
Linux icons: session-theme + Inherits lookup; single instance via org…
Linux icons: session-theme + Inherits lookup; single instance via org…
text: find Linux fallback fonts through fontconfig too, and draw ⎋ fr…
kitlangton commentedon Oct 30, 2026
Fixed on
devin 20b63df. DejaVu Sans Mono (which has U+238B) now follows DejaVu Sans in the Linux symbol fallbacks, and fallback fonts are also looked up among the filesfc-listreports.Thanks for the probe output, it pointed straight at the gap. If you get a chance to rerun
plex_keyboard_symbols_use_real_glyphson that Ubuntu box, let us know if it still fails.native_surface: join the video completion thread before the device goes