Used to Windows, just go to Ubuntu always feel the font display is not so cordial, especially Chinese fonts, on the Web page is particularly strange. Some software support for Chinese fonts is not good, webstorm in the Git logs Chinese is also garbled. Set the system language to Chinese, Git logs can not display the Chinese problem solved, but the English menu font also show strange. I can't stand it!
What to do? In Baidu search this article, said that it is possible to copy the fonts in Windows like to install in Ubuntu, but Microsoft ya Black font display is very strange, a little black feeling. Helpless! Then try the following method, then restart the system, the font display is perfect, and on Windows almost no different!
Enter the following command in the terminal to install the font:
wget -o get-fonts. sh. zip http://files.cnblogs.com/dengyangjun/get-fonts.sh.zipunzip -o get-fonts. sh. Zip 1>/dev/nullchmod a+x get-fonts. SH . /get-fonts. SH
If you want to remove the downloaded font installation script, execute the following command:
RM get-fonts. sh get-fonts. sh. Zip 2>/dev/null
If you want to restore the system default font, execute the following command:
cd/etc/fonts/conf.availsudomvWuyi2>/dev/null sudo MV the the 2>/dev/nullsudorm2>/dev/null
I have tried this machine, the effect is very good! Record here for the next time.
Ubuntu System Font Installation