How To: Improved Chinese fonts on Ubuntu

Since this is only on the Chinese Ubuntu wiki, I figured some people might miss it.

Shawn Ling wrote up a guide on how to get Vera Sans YuanTi working in Ubuntu. The steps are pretty simple.

First, you need to download and unpack it.

wget http://download.ubuntu.org.cn/software/VeraSansYuanTi.tar.gz
tar -zxvf VeraSansYuanTi.tar.gz

Next, move the folder it creates to the fonts directory.

sudo mv VeraSansYuanTi /usr/share/fonts

Last, update your font configuration and move the new one to /etc.

sudo fc-cache -f
sudo cp /etc/fonts/fonts.conf /etc/fonts/fonts.conf.bak
sudo cp /usr/share/fonts/VeraSansYuanTi/fonts.conf /etc/fonts

Presto, no more messy script fonts that get devoured by anti-aliasing and pixel sub-hinting. This is an improvement for basically anywhere you display Chinese fonts at 96dpi or less. Monster zooming in OpenOffice doesn’t count (those look fine to begin with).


About this entry