Using Microsoft Fonts in Ubuntu

Source: Internet
Author: User

During this time using Ubuntu 16.04, when using Texstudio to edit an article, I found that the default kanji font is not the same as our habits when processing a period. Ubuntu 16.04 default Kanji font It looks strange to put a period in the middle. So I think of the fonts in Windows to get used.
In fact, the other Kanji font processing period in Ubuntu 16.04 is the same as our usual habit, here is just to find a way out.
——————————————————————————
The following procedures are described:
1. Prepare Microsoft Fonts. You can directly from the Windows system to copy the required fonts, if you just want to add a few common Chinese characters in Ubuntu, you can go to my Baidu cloud disk download: Microsoft Four kinds of commonly used Chinese characters font. Here I only choose the song body, Fangsong, italics and boldface four kinds of fonts. Extract the font files to the local hard drive, for example in/mydata/fonts/micro_fonts/.
2. Copy the font to the System font folder (/usr/share/fonts/). Execute the following command in the terminal:

cp -r /mydata/fonts/micro_fonts/ /usr/share/fonts/

Modify Permissions:

sudo chmod u+rwx /usr/share/fonts/micro_fonts/*

3. Create font cache. execute the following command in turn:

cd /usr/share/fonts/micro_fontssudo mkfontscalesudo mkfontdirsudo fc-cache -fv

OK, now you can use Microsoft fonts in Ubuntu.

Using Microsoft Fonts in Ubuntu

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.