Micros Linuxsir guanhuaming with SIMSUN.TTC

xiaoxiao2021-03-05  21

1) Copy SIMSUN.TTC to your Linux system from your friend's Windows system:

[root @ ghm fonts] # ​​cp simsun.ttc / usr / share / fonts / zh_cn / trueType /

(2) Creating a font index in the font directory:

[root @ ghm fonts] # ​​fc-cache / usr / share / fonts / zh_cn / trueType /

Ok, the font is installed, now your system can use the Simsun.ttc font. Open Firefox

Http://www.linuxsir.org/bbs look at the effect of Chinese display? Yes, unfortunately Chinese, English is clear. Don't worry, change the font to formulate Fonts.conf.

(3) Modify the Fonts.conf file, disable the antialias function of the Simsun font:

[root @ GHM FONTS] # vi /etc/fonts/fonts.conf

in

Some Asian Fonts Misadvertise THEMSELVES AS MONSPACED WHEN

IN FACT THEY Are Dual-Spaced (Half and Full). This Makes

FreeType Very Confused As it forces all widths to match.

Undo this magic by disabling the width forcing code ->

------------------------------------------------

The front inserted as follows:

SIMSUN

false

Beautify, restart the system, change the Firefox font to SIMSUN, look online to see the effect? Light?

转载请注明原文地址:https://www.9cbs.com/read-34859.html

New Post(0)