Article Title: added the Windows Chinese font in Ubuntu8.04. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Ubuntu8.04 has too few Chinese fonts, which is inconvenient for people who are familiar with Windows.
You can easily add your favorite font in Ubuntu8.04 using the following method.
1. Find your favorite Chinese font in the fonts folder of Vista:
: Msyh
SimHei
SimSun
文: STXihei
文: STKaiti
文: STSong
文: STFangsong
文 cloud: STCaiyun
文 AMBER: STHupo
文: STLiti
文: STXingkai
New Chinese Wei: STXinwei
Many
2. Create a folder named vista and load all your favorite font files into the vista folder;
3. Copy the vista font folder to/usr/share/fonts.
It should be noted that Ubuntu8.04 does not support reading, writing, creating, copying, and deleting any files (folders) in Windows. You must also have System Management permissions to create a font folder. Run the following command to open fonts:
Sudo gnome-open/usr/share/fonts/
Copy the created vista font folder to fonts;
4. Modify the font permissions so that users other than root can use these fonts. If you are not familiar with the command, you can directly click the font file-properties-Permission to modify it;
5. Create a font cache with the following command:
Cd/usr/share/fonts/vista/
Sudo mkfontscale
Sudo mkfontdir
Sudo fc-cache-fv
6. Restart your computer.
7. Perform the settings you need: Right-click the desktop, change the desktop background, and set the font.
Now, when you use openoffice, you will not feel that there are too few Chinese fonts to choose from.