Ubuntu9.04 is easy to install using wubi, especially in my hp household notebook. I want to learn python recently, so I am having to spend some free time on Ubuntu after work every day. The gnome Desktop font after Ubuntu is installed by default looks awkward, after all, we have developed a visual habit in the Windows environment. As the saying goes, it is natural. Simply port the font in Windows. If you say that the common font of Windows is not included when Ubuntu is released
Ubuntu 9.04 is easy to install using wubi, especially in my hp household notebook, with a small amount of heat. I want to learn python recently, so I am having to spend some free time on Ubuntu after work every day. The gnome Desktop font after Ubuntu is installed by default looks awkward, after all, we have developed a visual habit in the Windows environment. As the saying goes, it is natural. Simply port the font in Windows. If you say that the common fonts of Windows are not included when Ubuntu is released, because the fonts of Windows are copyrighted, of course, it cannot be released together in Ubuntu. But we can make it by ourselves ......
OK. Let's get started with the following:
(1) Search for your favorite Chinese fonts from the fonts folder of Windows (do not know where the font folder of Windows is), such as SimHei and SimSun) and so on.
(2) cp these fonts to a folder, such as myfonts
(3) Run The sudo cp */usr/share/fonts/truetype command in myfonts to put the fonts we want to transplant into Ubuntu.
(4) refresh the font cache:
# Cd/usr/share/fonts/truetype
# Sudo mkfontscale
# Sudo mkfontdir
# Sudo fc-cache-fv
After the preceding operations are completed, right-click the desktop and choose "Change desktop background"> "font" in the "appearance Preferences" tab to select the Windows Font we transplanted, the transplanted font has come out.
This article comes from:Http://www.cnpublic.com/2009/07/%E7%BE%8E%E5%8C%96ubuntu%E7%9A%84%E7%95%8C%E9%9D%A2%E5%AD%97%E4%BD%93/