rss
email
twitter
facebook

2005年3月17日

[Linux]B2D 之 AR PL New Sung 粗體字

B2D 之 AR PL New Sung 粗體字
http://free.tnc.edu.tw/modules/tadbook2/view.php?book_sn=1&bdsn=122

Debian 底下,要出現粗體字,有兩種方法

  1. 使用 firefly 的 fontconfig 及 libxft2 patch
    patch 的方法,請參考以下網址,小弟就不再多做說明:
    http://wiki.debian.org.tw/index.php/FireFlyPatchDIY

  2. 修改 .fonts.conf 使某些特定字型會出現粗體
    把以下這段文字,加入 .fonts.conf 內 <fontconfig></fontconfig>之間
    <match target="font">
    <test target="pattern" name="weight" compare="more">
    <const>medium</const>
    </test>
    <test name="family" compare="eq">
    <string>AR PL New Sung</string>
    </test>
    <edit name="weight" mode="assign">
    <const>bold</const>
    </edit>
    </match>

    資料來源:http://moto.debian.org.tw/viewtopic.php?t=5648



0 意見:

張貼留言