Repository navigation
Description
Knulli build version
scarab 2026/05/11 22:00 (image knulli-t527-trimui-smart-pro-s-scarab-20260511.img.gz), rootfs MD5 fa5f314c5896d18882f315f1c44c8b8e, kernel 5.15.147, channel stable. The mechanism (configgen forcing the font path) is not device-specific, so other current builds are very likely affected the same way.
Your architecture
TrimUI Smart Pro S (Allwinner T527 / sun55iw3). Handheld. Found while using the system in Vietnamese (vi_VN); the same applies to any language whose characters are missing from the font (see below).
Issue description
RetroArch on-screen notifications (save-state loads, netplay connect messages, etc.) render Vietnamese text with tofu boxes (missing-glyph rectangles) for many characters, e.g. ả, ấ, ể, ố in words like "kết nối" / "đã tải".
Root cause: configgen forces video_font_path = /usr/share/fonts/dejavu/DejaVuSansMono.ttf in retroarchcustom.cfg on every game launch (in libretroRetroarchCustom.generateRetroarchCustomPathes), so editing the cfg by hand does not survive. The bundled DejaVu Sans Mono lacks 59 Vietnamese glyphs — measured with fc-query --format '%{charset}': the font covers 3,322 glyphs and is missing essentially all Vietnamese vowels with hỏi/ngã tone marks and their uppercase forms (U+1EA2-1EB0 range etc.). The menu/widget font used elsewhere in RetroArch covers them, which is why only the OSD notification line breaks.
For comparison, the bundled DejaVuSans.ttf (proportional) misses only 4 glyphs (U+1EFC-1EFF, Welsh, unused in Vietnamese) and renders all of the above correctly.
Detailed reproduction steps
- Set system language to Vietnamese (vi_VN).
- Launch any RetroArch game.
- Trigger an OSD notification containing affected characters, e.g. load a save state or start netplay.
- The notification text shows tofu boxes in place of the affected characters. 100% reproducible.
Details of any attempts to fix this yourself
- Edited
video_font_pathin the RetroArch config by hand: reverted by configgen at the next launch (it force-writesDejaVuSansMono.ttf). This also rules out a user-side fix. - Verified the workaround: replacing the contents of
/usr/share/fonts/dejavu/DejaVuSansMono.ttfwith the bundledDejaVuSans.ttfmakes all notifications render fully (state + netplay messages tested on-device, screenshots confirmed). Not proposed as the upstream fix, only as proof of the diagnosis. - Suggested upstream fixes (any of): point
video_font_pathat a font with full coverage (e.g.DejaVuSans.ttf), or ship a mono font with Vietnamese coverage for the OSD, or stop forcing the font path in configgen so the core/distro default (which is fine) applies.
Details of any modifications you have made to Knulli
The font-content replacement described above was applied locally as a workaround via a third-party app and can be reverted; the diagnosis (forced path + missing glyphs measured with fc-query) is from stock files.
Logs and data
Glyph measurement: fc-query charset of the stock DejaVuSansMono.ttf = 3,322 glyphs, missing 59 Vietnamese codepoints; DejaVuSans.ttf missing only 4 (U+1EFC-1EFF). Configgen behaviour verified by observing retroarchcustom.cfg being rewritten back to DejaVuSansMono.ttf after a manual edit + one game launch.
Activity