Add SIMSUN.TTC font to Red Hat

Source: Internet
Author: User
Keywords Simsun.ttc
Tags aliyun copy directory example html http installation installing

Take Red Hat 7.3 as an example, when installing http://www.aliyun.com/zixun/aggregation/23115.html "> Simplified Chinese installation, first copy a SIMSUN.TTC to/usr/x11r6/lib/ X11/font/truetype, renamed Simsun.ttf; then enter/usr/x11r6/lib/x11/font/truetype directory, run ttmkfdir > Fonts.dir command; Edit the Fonts.dir file and modify the Simsun.ttf line as follows:

simsun.ttf-misc-simsun-medium-r-normal--0-0-0-0-c-0-ascii-0
Simsun.ttf-misc-simsun-medium-r-normal--0-0-0-0-c-0-iso10646-1
Simsun.ttf-misc-simsun-medium-r-normal--0-0-0-0-p-0-iso8859-15
Simsun.ttf-misc-simsun-medium-r-normal--0-0-0-0-p-0-iso8859-1
simsun.ttf-misc-simsun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0simsun.ttf-misc-simsunmedium-
r-normal--0-0-0-0-p-0-gb2312.1980-0
simsun.ttf-misc-simsun-medium-r-normal--0-0-0-0-m-0-gb2312.1980-0
simsun.ttf-misc-simsun-medium-r-normal--0-0-0-0-p-0-gbk-0

Then run the cat fonts.dir > Fonts.scale command, modify the/etc/x11/xf86config-4, and add the following line to the section "Files":

Fontpath "/usr/x11r6/lib/x11/fonts/truetype"

Finally back to the KDE desktop, in the "start" → "options" → "Impressions" → "font", change all fonts to SimSun

Related Article

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.