1
0
Fork 0

foot.ini: fix Maple Mono CN -> Maple Mono NF (was rendering Liberation Sans)

The font= line referenced 'Maple Mono CN', the CJK variant from a separate
release zip we don't install. The repo only installs Maple Mono NF (Latin
Nerd Font variant from subframe7536/Maple-font).

foot silently falls back to the system sans font when the requested family
is missing, so on every box except miche foot was rendering Liberation Sans
(noto, dejavu, etc.) while looking like a working terminal. miche has both
CN and NF installed from prior tinkering, which is why it was the only
box where the bug was invisible.

Every other config in this repo (nvim, wofi, waybar, mako) already uses
'Maple Mono NF' correctly. Only foot had the wrong suffix.

Removed the 'Terminus:size=14' fallback — Terminus isn't installed either,
so it was dead weight that also triggered foot to fall through to system
default if Maple Mono CN failed to match.

Verified: fc-match 'Maple Mono NF' now returns MapleMono-NF-Regular.ttf on
tadbit (was: Liberation Sans).
This commit is contained in:
Rain 2026-06-23 20:29:03 -04:00
parent c51dc864d8
commit c6779c57ce

View file

@ -1,11 +1,19 @@
# foot terminal — gruvbox dark, Maple Mono 14pt with Terminus fallback # foot terminal — gruvbox dark, Maple Mono NF 14pt.
# Reference: man foot.ini # Reference: man foot.ini
#
# IMPORTANT: use `Maple Mono NF` (the Latin-only Nerd Font variant installed by
# run_once_20). NOT `Maple Mono CN` — that's the CJK variant from a separate
# release zip we don't install. foot silently falls back to the system sans
# font if the requested family is missing (Liberation Sans / Noto Sans Mono /
# DejaVu Sans depending on distro), and the terminal still LOOKS fine — you
# just get the wrong font. Verified 2026-06-23: every box except miche was
# rendering Liberation Sans / Noto Sans Mono in foot instead of Maple Mono NF.
[main] [main]
font=Maple Mono CN:size=14,Terminus:size=14 font=Maple Mono NF:size=14
font-bold=Maple Mono CN:weight=bold:size=14 font-bold=Maple Mono NF:weight=bold:size=14
font-italic=Maple Mono CN:slant=italic:size=14 font-italic=Maple Mono NF:slant=italic:size=14
font-bold-italic=Maple Mono CN:weight=bold:slant=italic:size=14 font-bold-italic=Maple Mono NF:weight=bold:slant=italic:size=14
font-size-adjustment=0.5 font-size-adjustment=0.5
pad=8x8 pad=8x8
term=foot term=foot