Linux Font installation __linux

Source: Internet
Author: User
Google looked it up, and sure enough, the TTF font in Windows is compatible with GNOME. I immediately identified my solution-using the Microsoft Elegance under Windows as the default font for desktops and applications.

1. First get a set of "Microsoft Ya-Black" Font library (Google a lot), including two files Msyh.ttf (ordinary), Msyhbd.ttf (bold);
2. Create a subdirectory under the/usr/share/fonts directory, such as win, which commands the following:
# Mkdir/usr/share/fonts/win
3. Copy Msyh.ttf and Msyhbd.ttf to the directory, for example, the 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, update font caching:
# Cd/usr/share/fonts/win
# Mkfontscale
# Mkfontdir
# Fc-cache

At this point, the font has been installed.



Fc-list View current Font

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.