File size: 1,121 Bytes
14d7429
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/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