查看文章
 
修正 Gnome 下 Firefox 3.5 的字体渲染
2009-11-01 14:23

Firefox 3.5 的字体渲染设置与 3.0 相比似乎有所变动,稍稍的模糊了一些,而且不能够根据外观中的设置改变了。

这里找到了解决方案,效果如图:

Firefox 3.5 修正后的显示效果

Firefox 3.5 修正后的显示效果



方法:
修改主目录下的 .fonts.conf 文件
$ gedit ~/.fonts.conf

我的设置

<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font" >
<edit mode="assign" name="rgba" >
<const>none</const>
<!-- 可选参数 : rgb bgr vrgb vbgr none -->
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hinting" >
<bool>true</bool>
<!--可选参数 : true false -->
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hintstyle" >
<const>hintslight</const>
<!--可选参数 : hintnone hintslight hintmedium hintfull -->
</edit>
</match>
<match target="font" >
<edit mode="assign" name="antialias" >
<bool>true</bool>
<!--可选参数 : true false -->
</edit>
</match>
</fontconfig>

可以逐项尝试各种选择,保存文件后无须重启 Firefox ,直接刷新即可。

.fonts.conf 设置的详细文档见:http://fontconfig.org/fontconfig-user.html


类别:Ubuntu||添加到搜藏 |分享到i贴吧|浏览(370)|评论 (0)
 
最近读者:
 
网友评论:
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
     

   
帮助中心 | 空间客服 | 投诉中心 | 空间协议
©2012 Baidu