dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

[BUG] Missing font glyphs (tofu boxes) rendered in system info output

Open elppans opened this issue 3 months ago • 1 comments

Describe the bug

When displaying system information output on a system without specific font coverage (e.g., missing symbol/emoji fonts like ttf-nerd-fonts-symbols or ttf-font-awesome), Unicode status glyphs render as missing character boxes ("tofu").

Steps to reproduce

  1. Run system info command (ml4w-hyprsysteminfo) on a clean Arch Linux installation without icon/symbol fonts installed.
  2. Observe the output lines for monitor capabilities (explicit, hdr, chroma, bt2020, vrr capable, non-desktop).
  3. See missing glyph boxes (tofu) displayed instead of status symbols.

Expected behavior

The script should either render readable Unicode/ASCII status indicators (e.g., [YES]/[NO]) or explicitly document font dependencies required for proper symbol rendering.

Manually installing font packages (ttf-font-awesome, ttf-nerd-fonts-symbols) resolves the visual issue on Arch Linux, but a software-level fallback or clear dependency documentation would prevent unexpected visual glitches for new users.

Screenshots

  • Image from before the correction Image

  • Image after correction

sudo pacman -S ttf-font-awesome ttf-nerd-fonts-symbols noto-fonts-emoji
fc-cache -f
Image

Distribution

Arch Linux

If Other, specify

No response

Additional context

No response

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

elppans avatar Aug 22 '26 21:08 elppans

Thanks. Fixed on Rolling Release.

mylinuxforwork avatar Aug 27 '26 10:08 mylinuxforwork