我的系统是Ubuntu5.10
我将win98中的simsun.ttf
su
cp simsun.ttf /usr/share/fonts/truetype/freefont
重启后,是有SimSun字体了,但是显示很不好看,无法达到在FC4中的效果。
我并不需要粗体,望高手指点。
我在在fonts.conf里面加入了以下的,但没有效果。
<match target="font" >
<!-- 打开字体的反锯齿即AA,大号字用AA会更美观 -->
<edit mode="assign" name="antialias" >
<bool>t</bool>
</edit>
<edit mode="assign" name="hintstyle" >
<const>hintslight</const>
</edit>
<!-- 打开hint -->
<edit mode="assign" name="hint" >
<bool>t</bool>
</edit>
<!-- 关闭autohint -->
<edit mode="assign" name="autohint" >
<bool>false</bool>
</edit>
</match>
建立/etc/fonts/local.conf文件,内容如下,也没有效果。
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<dir>/usr/share/fonts</dir>
<!-- Default fonts -->
<match target="font">
<test name="pixelsize" compare="less_eq">
<double>14</double>
</test>
<edit name="antialias" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="size" compare="less_eq">
<double>14</double>
</test>
<edit name="antialias" mode="assign">
<bool>false</bool>
</edit>
</match>
</fontconfig>
看了n多的文章还是没有搞定。
谢谢!
求教关于使用simsun.ttf的问题!
-
- 帖子: 4
- 注册时间: 2005-11-15 12:05
-
- 帖子: 4
- 注册时间: 2005-11-15 12:05
参考了 http://linux.hiweed.com/node/2947
使用uming字体,显示还不错。
使用uming字体,显示还不错。
- longmjshen
- 帖子: 94
- 注册时间: 2005-10-18 13:55
打不开,上图看看效果wnjer 写了:参考了 http://linux.hiweed.com/node/2947
使用uming字体,显示还不错。

-
- 帖子: 54
- 注册时间: 2005-11-16 22:52
。。。大家都在搞美化啊。。
。。。大家都在搞美化啊。。我也来。学习学习~