#!/bin/bash # Create fonts directory if it doesn't exist mkdir -p ~/.fonts # Download and install some common Unicode fonts # You can customize this list based on your specific language requirements # Noto Fonts (Google's comprehensive Unicode font family) wget https://noto-website-2.storage.googleapis.com/pkgs/Noto_Sans.zip unzip Noto_Sans.zip -d ~/.fonts rm Noto_Sans.zip # DejaVu Fonts (Comprehensive Unicode font) wget https://github.com/dejavu-fonts/dejavu-fonts/releases/download/v2.37/dejavu-fonts-ttf-2.37.zip unzip dejavu-fonts-ttf-2.37.zip cp dejavu-fonts-ttf-2.37/ttf/*.ttf ~/.fonts/ rm -rf dejavu-fonts-ttf-2.37* # Roboto Fonts (Google's standard font) wget https://github.com/google/fonts/raw/main/apache/roboto/static/Roboto-Regular.ttf -O ~/.fonts/Roboto-Regular.ttf wget https://github.com/google/fonts/raw/main/apache/roboto/static/Roboto-Bold.ttf -O ~/.fonts/Roboto-Bold.ttf # Additional language-specific fonts (optional) # Spanish wget https://github.com/google/fonts/raw/main/ofl/sourcesanspro/SourceSansPro-Regular.ttf -O ~/.fonts/SourceSansPro-Regular.ttf # Rebuild font cache fc-cache -fv