Created
January 31, 2026 03:08
-
-
Save discountry/7545c4c266b2d0106f8fe48129864cef to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -e | |
| echo "==> Updating apt..." | |
| sudo apt update | |
| echo "==> Installing Chinese fonts (Noto CJK + WenQuanYi)..." | |
| sudo apt install -y \ | |
| fontconfig \ | |
| fonts-noto-cjk \ | |
| fonts-noto-cjk-extra \ | |
| fonts-wqy-zenhei \ | |
| fonts-wqy-microhei | |
| echo "==> Installing Emoji fonts (Noto Color Emoji)..." | |
| sudo apt install -y \ | |
| fonts-noto-color-emoji | |
| echo "==> Refreshing font cache..." | |
| sudo fc-cache -fv | |
| echo "==> Verifying installed fonts..." | |
| echo "--- Chinese fonts ---" | |
| fc-list | grep -E "Noto.*CJK|WenQuanYi|wqy" | head -n 10 || true | |
| echo "--- Emoji fonts ---" | |
| fc-list | grep -i emoji | head -n 10 || true | |
| echo "==> Done." | |
| echo "Restart Chrome to apply changes:" | |
| echo " pkill chrome" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment