LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 907|回复: 5

用新的fontconfig能在firefox里显示粗体么?

[复制链接]
发表于 2005-10-4 20:28:15 | 显示全部楼层 |阅读模式
fontconfig之类的东西都升到最新,不打补钉,默认情况下gnome粗体都正常了,但是firefox又不行了,如果修改local.conf让firefox显示粗体,gnome又不行了。

这个东东如何处理的
发表于 2005-10-4 23:01:17 | 显示全部楼层
偶滴木有问题,simsun+mingliu,改了fonts.conf滴,能粗体显示
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-5 08:10:21 | 显示全部楼层
怎么修改的,贴出来看看
回复 支持 反对

使用道具 举报

发表于 2005-10-5 16:19:05 | 显示全部楼层
已经有无数个贴子了,难道你不会用Search?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-5 23:05:39 | 显示全部楼层
当然是搜索过了
只有这里讨论过。http://www.linuxsir.cn/bbs/showthread.php?t=204651&page=1

基本上就是说加下面这段代码。但这只影响到gnome程序,firefox和opara都不行。
  1.         <match target="font">
  2.                 <!-- check to see if the font is just regular -->
  3.                 <test name="weight" compare="less_eq">
  4.                         <int>100</int>
  5.                 </test>
  6.                 <!-- check to see if the pattern requests bold -->
  7.                 <test target="pattern" name="weight" compare="more_eq">
  8.                         <int>180</int>
  9.                 </test>
  10.                 <!-- set the embolden flag -->
  11.                 <edit name="embolden" mode="assign">
  12.                         <bool>true</bool>
  13.                 </edit>
  14.         </match>
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-6 00:22:45 | 显示全部楼层
升级libXft到2.1.7能够解决firefox的问题,但我前些日子把2.1.7改成2.1.6了,因为用2.1.7的时候,gnome-terminal就似乎不受fontconfig的控制了,出来的字体非常难看。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表