Piugkni's profilePiugkni's地盘PhotosBlogLists Tools Help

Blog


    August 04

    Linux使用simsun字体

    使用simsun字体
    1.从你的windows字体目录下拷贝simsun字体到/usr/share/fonts/zh_CN/TrueType/
    2.执行fc-cache /usr/share/fonts/zh_CN/TrueType/
    3.修改/etc/fonts/fonts.conf 在
    <!--
    Some Asian fonts misadvertise themselves as monospaced 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.-->
    前面插入
    <match target="font">
     <test name="family"><string>SimSun</string></test>
     <edit name="antialias" mode="assign"><bool>false</bool></edit>
    </match>
    4.然后restart X,修改firefox的字体为simsun
    enjoy it.
    感谢最初给出答案的人,以及传播这份答案的人。
    谁能给出一个fedora并行启动各服务的那三个脚本啊
    PS:以前我们都使用5元的windows(俺现在用的是正版的,使用此字体应该有权利吧),现在只使用一个simsun字体,盖茨应该很高兴了。

    Comments

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Trackbacks

    The trackback URL for this entry is:
    http://piugknimsn.spaces.live.com/blog/cns!90BAC6632E9344D9!165.trak
    Weblogs that reference this entry
    • None