Points to note when installing window fonts to Linux systems

Points to note when installing window fonts to Linux systems

1. Create a folder in the original Linux font library [/usr/share/fonts/]
 [mkdir /usr/share/fonts/win_fonts]
 
2. Upload the required fonts to this folder

3. Terminal input: [sudo fc-cache -fv]

4. If you need to confirm whether the new Chinese font library has been installed, you can enter in the terminal: [fc-list :lang=zh-cn | sort]


Modify permissions
cd /usr/share/fonts/
chmod 755 win_fonts/
cd /usr/share/fonts/win_fonts/
chmod 644 *
mkfontscale
mkfontdir
fc-cache

Guess you like

Origin blog.csdn.net/qq_36336332/article/details/109764907