当前时区 GMT+8, 现在时间是 2008-8-22 09:27 游客: 注册 登录 仅登录论坛 | 搜索 帮助


标题: 请教一个fontconfig的问题。
Neo.K
注册会员
Rank: 2


UID 73727
精华 0
积分 208
帖子 83
阅读权限 20
注册 2003-10-31
来自 Hong_Kong
状态 离线
发表于 2004-5-19 13:54  资料  短消息  加为好友 
请教一个fontconfig的问题。

firefly的local.conf中有这么一段,导致所有中日韩的字体都必须autohint了,我有一款中文字体,不想autohint,请问该怎么写local.conf?

[code:1]<!--
  Add by firefly@firefly.idv.tw
-->
        <match target="font">
                <test name="lang" compare="contains">
                        <string>zh</string>
                        <string>ja</string>
                        <string>ko</string>
                </test>
                <edit name="autohint" mode="assign">
                        <bool>true</bool>
                </edit>
                <edit name="hintstyle" mode="assign">
                        <const>hintslight</const>
                </edit>
                <edit name="usegamma" mode="assign">
                    <if>
                        <less>
                                <name>pixelsize</name>
                                <double>20</double>
                        </less>
                    </if>
                    <bool>true</bool>
                    <bool>false</bool>
                </edit>
        </match>[/code:1]





Just Slackware...
顶部
 


Powered by Discuz! 5.5.0  © 2001-2007 Comsenz Inc.
清除 Cookies - 联系我们 - 中国Linux公社 - WAP