求助,让opera使用苹果黑体(已解决)
- TheThirdGhost
- 帖子: 1592
- 注册时间: 2006-07-23 16:25
- 来自: 南京
求助,让opera使用苹果黑体(已解决)
opera的字体设置太奇怪的,我怎么搞也不能让网页完全以苹果黑体显示,还请诸位解疑。
问题如图,部分字体苹果黑体,部分又不是。
问题如图,部分字体苹果黑体,部分又不是。
上次由 TheThirdGhost 在 2007-03-01 21:44,总共编辑 1 次。
- TheThirdGhost
- 帖子: 1592
- 注册时间: 2006-07-23 16:25
- 来自: 南京
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
-
- 帖子: 482
- 注册时间: 2006-06-29 17:30
- TheThirdGhost
- 帖子: 1592
- 注册时间: 2006-07-23 16:25
- 来自: 南京
- TheThirdGhost
- 帖子: 1592
- 注册时间: 2006-07-23 16:25
- 来自: 南京
- rhfcaesar
- 帖子: 2996
- 注册时间: 2005-11-17 15:45
- 来自: 湖北
这个方法不是最好的方法。
viewtopic.php?p=224003#224003
viewtopic.php?p=224003#224003
- jarryson
- 帖子: 4002
- 注册时间: 2005-08-14 19:53
粗体可以自动合成的啊。。有一段代码,加到font.conf里面就可以了
<!--
Synthetic emboldening for fonts that do not have bold face available 粗体自动合成
-->
<match target="font" >
<!-- check to see if the font is just regular --> <test compare="less_eq" name="weight" >
<int>100</int>
</test>
<!-- check to see if the pattern requests bold --> <test compare="more_eq" target="pattern" name="weight" >
<int>180</int>
</test>
<!-- set the embolden flag --> <edit mode="assign" name="embolden" >
<bool>true</bool>
</edit>
</match>
我觉得不好的就是字体渲染的方面,比方sthei需要不开微调,直接虚化,但是opera里面字体渲染好象不受font.conf或者gnome控制,默认开启了微调,很丑。难道我用opera需要安装kde么。
<!--
Synthetic emboldening for fonts that do not have bold face available 粗体自动合成
-->
<match target="font" >
<!-- check to see if the font is just regular --> <test compare="less_eq" name="weight" >
<int>100</int>
</test>
<!-- check to see if the pattern requests bold --> <test compare="more_eq" target="pattern" name="weight" >
<int>180</int>
</test>
<!-- set the embolden flag --> <edit mode="assign" name="embolden" >
<bool>true</bool>
</edit>
</match>
我觉得不好的就是字体渲染的方面,比方sthei需要不开微调,直接虚化,但是opera里面字体渲染好象不受font.conf或者gnome控制,默认开启了微调,很丑。难道我用opera需要安装kde么。