Chrome Chinese font replacement in Ubuntu 16.04

Source: Internet
Author: User

Chrome Chinese font replacement in Ubuntu 16.04

I really don't like Chrome's Chinese font in Ubuntu 16.04 LTS, so I decided to change the font. Ubuntu does not have a better font, so find my two favorite fonts in Windows: and. After searching for Ubuntu, you need to create a folder in the "/usr/share/fonts/" directory. I name it "ms_fonts" to store the font I want.

Enter the following command in the terminal:

1. Create a folder
$ Sudo mkdir/usr/share/fonts/ms_fonts

2. Right-click the current folder of the font file and copy the two files (msyh. ttf and msyhbd. ttf) from the current location to ms_fonts:
$ Sudo cp msyh. ttf msyhbd. ttf/usr/share/fonts/ms_fonts

3. Change the font permission
$ Sudo chmod 644/usr/share/fonts/ms_fonts /*

4. Enter the new folder for storing fonts.
$ Cd/usr/share/fonts/ms_fonts/

5. paste the following three lines of commands to sign in with the system for ICP filing
$ Sudo mkfontscale
$ Sudo mkfontdir
$ Sudo fc-cache-fv

Then go to the Chrome settings page and change it to the following Font:

This is the end.

If necessary, you can go to the customer's house to download:

Ubuntu 16.04 LTS was officially released and downloaded for 5 years of technical support

Ubuntu 16.04 USB flash drive installation graphic tutorial

15 things to be configured after installing Ubuntu 16.04 LTS

Ubuntu 16.04 LTS released Canonical today to announce new system features

Upgrade Ubuntu 15.10 To Ubuntu 16.04

Install Lua game engine in Ubuntu 16.04

How to Use the Snap package for Ubuntu 16.04 LTS

Ubuntu 16.04 requires your help to make GNOME Software more beautiful

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.