我根据网上的帖子已经可以把wine的中文字体设置到相当满意的地步了。最近作了一个实验,把windows下的所有字体copy到了wine里面,发现字体非常清晰,但有部分中文显示不出来。而如果用ubuntu自己的字体,则文字显示是全的,但非常模糊,就像刚装ubuntu没有设对中文字体一样。感觉是anti-alias搞的鬼。请教如何修复。见图。
http://www.iitop.com/bbs/redirect.php?t ... o=lastpost
请高手不吝赐教:wine中文字体的问题(显示效果及其他)[已解决]
- xrfang
- 帖子: 1116
- 注册时间: 2006-12-08 10:21
- xrfang
- 帖子: 1116
- 注册时间: 2006-12-08 10:21
我刚才实验了一下,在/etc/fonts/local.conf里面写如下句子:
可是没有用。它倒是把我console下面英文字体的anti-alias去掉了,字体变得粗糙了一点,但wine下面中文字体仍然模糊。[/code]
代码: 全选
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file for local customizations -->
<fontconfig>
<!--.......................................................................-->
<!--
Add by EricNeon (ericneon@geekbone.org)
Disable Chinese fonts Anti-Alias in 8px-16px.
-->
<match target="font">
<test name="pixelsize" compare="more_eq">
<double>8</double>
</test>
<test name="pixelsize" compare="less_eq">
<double>16</double>
</test>
<edit name="antialias" mode="assign">
<bool>false</bool>
</edit>
<edit name="hinting">
<bool>true</bool>
</edit>
</match>
</fontconfig>
- dogfox
- 论坛版主
- 帖子: 5311
- 注册时间: 2006-09-02 14:18
- 来自: 汉桑城
- 联系:
- 依寻依然
- 帖子: 1617
- 注册时间: 2006-10-31 14:49