Linux Font installation

Source: Internet
Author: User

Google checked, and sure enough TTF fonts under Windows are compatible with GNOME! I immediately identified my plan-using the "Microsoft Ya Hei" body under Windows as the default font for desktops and applications!

1. First obtain a set of "Microsoft Ya Black" Font library (Google a lot), including two files Msyh.ttf (normal), Msyhbd.ttf (bold);
2. Create a subdirectory in the/usr/share/fonts directory, such as win, with the following command:
# Mkdir/usr/share/fonts/win
3. Copy Msyh.ttf and Msyhbd.ttf to this directory, for example, these two files are placed under/root/desktop, using the command:
# Cd/root/desktop
# CP Msyh.ttf msyhbd.ttf/usr/share/fonts/win/
4. Create font index information and update font cache:
# Cd/usr/share/fonts/win
# Mkfontscale
# Mkfontdir
# Fc-cache
At this point, the font has been installed!

Linux Font installation

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.