|
|
发表于 2004-11-10 14:37:52
|
显示全部楼层
继续问一下如何解决英文变宽的问题
感觉斑竹说的fonts.conf中解决这个问题的代码是这些。
但是我不知道如何修改local.conf文件,才能解决问题。我将这个原封不动拷贝到local.conf中,也不行,将fonts.conf中的这段代码注释也不行,斑竹能否告诉详细解决方法,谢谢!
[PHP]
<!--
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 target="pattern" name="lang" compare="contains">
<string>zh-tw</string>
<string>zh-cn</string>
<string>ja</string>
<string>ko</string>
</test>
<edit name="spacing">
<const>proportional</const>
</edit>
<edit name="globaladvance">
<bool>false</bool>
</edit>
</match>
[/PHP] |
|