Install
openclaw skills install install-chinese-fontsInstall Chinese/CJK fonts on Linux hosts using distro packages and fontconfig verification. Use when Chinese text renders as tofu / missing glyphs, or when an agent needs Noto or Source Han fonts for servers, containers, desktops, screenshots, PDFs, browser automation, or headless Chrome/Playwright environments.
openclaw skills install install-chinese-fontsPrefer system packages. They are smaller, easier to update, and more reliable than downloading huge upstream font archives.
Use the bundled script for repeatable installs:
bash scripts/install_chinese_fonts.sh --dry-run
bash scripts/install_chinese_fonts.sh
bash scripts/install_chinese_fonts.sh --verify-only
The script:
dnf / yum / apt-getfc-cache -ffc-listfontconfig can see CJK families.Prefer Noto CJK packages:
sudo dnf -y install \
google-noto-cjk-fonts \
google-noto-sans-cjk-ttc-fonts \
google-noto-serif-cjk-ttc-fonts
sudo fc-cache -f
fc-list | grep -Ei 'Noto Sans CJK|Noto Serif CJK|Source Han Sans|Source Han Serif' | head -40
Prefer:
sudo apt-get update
sudo apt-get install -y fonts-noto-cjk
sudo fc-cache -f
fc-list | grep -Ei 'Noto Sans CJK|Noto Serif CJK|Source Han Sans|Source Han Serif' | head -40
Check whether Chinese fonts already exist:
fc-list :lang=zh family file | head -20
Check the specific families after installation:
fc-list | grep -Ei 'Noto Sans CJK|Noto Serif CJK|Source Han Sans|Source Han Serif' | head -40
Only use manual downloads when:
Recommended source:
Prefer language-specific archives over giant all-in-one bundles unless the user explicitly needs the full family.
After extraction, copy font files into a system font directory such as:
/usr/share/fonts//usr/local/share/fonts/Then refresh cache:
fc-cache -f
fc-cache -f.