Ubuntu font android stuido kanji display Box

Source: Internet
Author: User

Ubuntu in the Chinese font to look at the total sense of a bit uncomfortable, so Baidu, here is recorded how to install Windows fonts in Ubuntu 12.04

Step1. Go to the Windows system to copy a font

Generally speaking, the Windows system fonts are in c/windows/fonts, so go straight in and pick the font you like.

For convenience, I directly copied all the fonts in the Fonts folder and placed them in the ~/winfonts of the Ubuntu system.

Step2. Create a new folder in/usr/share/fonts/winfonts

The main purpose of creating this folder is to store Windows fonts so that you don't confuse the Ubuntu fonts

Execute the following command

sudo mkdir/usr/share/fonts/winfonts

Step3. Copy the ~/winfonts font to the/usr/share/fonts/winfonts

Execute the following command

sudo cp ~/winfonts/*/usr/share/fonts/winfonts

Step4. To modify access permissions for a newly inserted font

Enter this folder first

Cd/usr/share/fonts/winfonts

Then execute the following command

sudo chmod 744 *

Step5. Generate Core Font information

Perform the following three commands, respectively

sudo mkfontscalesudo mkfontdirsudo fc-cache-f-V

Ubuntu font android stuido kanji display Box

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.