Ubuntu9.04 font problems solved perfectly

Source: Internet
Author: User
After Ubuntu 9.04 is installed, I found that Ubuntu of this new version has improved very well, because I still have more problems with the driver when using Ubuntu7.10, for example, my Nvidia 8400GMS driver does not support well, desktop effects cannot be enabled at all. In addition, the sound card driver also has a major problem. For example, if there is no sound at startup, you have to sleep and wake up again. In addition, after the headset is inserted, there will be no sound or the sound is not heard, although there are many solutions on the Internet, the solutions are complicated, so I am not sure

After Ubuntu 9.04 is installed, I found that the new version of Ubuntu has improved very well, because I still have more problems with the driver when using Ubuntu 7.10, for example, if my Nvidia 8400GMS driver does not support well, desktop effects cannot be enabled at all. In addition, the sound card driver also has a major problem. For example, if there is no sound at startup, you have to sleep and wake up again. In addition, after the headset is inserted, there will be no sound or the sound is not heard, although there are many solutions on the Internet, the solutions are complicated, so I did not actually use Ubuntu. For a long time, about a year has passed, and Ubuntu has already reached 9.04. After I installed it, I found great improvements. For example, you can directly install the perfect Nvidia graphics card driver through network updates to enable desktop effects perfectly. In addition, the Sound Card problem is also well solved. The basic hardware problems have been solved, but there are still some embarrassing problems in the software, that is, the problem of Chinese fonts.

The default Chinese font in Ubuntu is ugly, especially when the font in the browser is full of troughs. It looks uncomfortable, so I found a solution on the Internet. The font of and are imported. The specific method is:

1. Copy the XP Font:

Sudo mkdir-p/usr/share/fonts/zh_CN/TrueType
Sudo cp/media/vista/WINDOWS/Fonts/simsun. ttc/usr/share/fonts/zh_CN/TrueType/
Sudo cp/media/vista/WINDOWS/Fonts/tahomabd. ttf/usr/share/fonts/zh_CN/TrueType/
Sudo cp/media/vista/WINDOWS/Fonts/tahoma. ttf/usr/share/fonts/zh_CN/TrueType/
Sudo cp/media/vista/WINDOWS/Fonts/verdanab. ttf/usr/share/fonts/zh_CN/TrueType/
Sudo cp/media/vista/WINDOWS/Fonts/verdanai. ttf/usr/share/fonts/zh_CN/TrueType/
Sudo cp/media/vista/WINDOWS/Fonts/verdana. ttf/usr/share/fonts/zh_CN/TrueType/
Sudo cp/media/vista/WINDOWS/Fonts/verdanaz. ttf/usr/share/fonts/zh_CN/TrueType/
Sudo cp/media/vista/WINDOWS/Fonts/msyh. ttf/usr/share/fonts/zh_CN/TrueType/

2. Rename the font as YaHei_Consolas.ttf.

Sudo cp msyh. ttf/usr/share/fonts/zh_CN/TrueType/YaHei_Consolas.ttf

3. Generate the font directory list and other commands:

Sudo chmod 644/usr/share/fonts/zh_CN/TrueType /*
Cd/usr/share/fonts/zh_CN/TrueType/
Sudo mkfontscale
Sudo mkfontdir
Sudo fc-cache/usr/share/fonts/zh_CN/TrueType/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.