LinuxSir.cn,穿越时空的Linuxsir!

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

还是关于粗体的问题

[复制链接]
发表于 2005-11-1 15:36:31 | 显示全部楼层 |阅读模式
在fonts.conf里添加了下面这些配置后,gnome里有了粗体,firefox里还是没有。
xorg里的libxft已经是2.1.7,还需要做什么才能让firefox也实现粗体?

<!--
  Synthetic emboldening for fonts that do not have bold face available
-->

        <match target="font">
<!-- check to see if the font is just regular -->
                <test name="weight" compare="less_eq">
                       <int>100</int>
                </test>
<!-- check to see if the pattern requests bold -->
                <test target="pattern" name="weight" compare="more_eq">
                       <int>180</int>
                </test>
<!-- set the embolden flag -->
                <edit name="embolden" mode="assign">
                       <bool>true</bool>
                </edit>
        </match>

</fontconfig>
发表于 2005-11-1 16:40:34 | 显示全部楼层
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-1 17:01:21 | 显示全部楼层
原来如此,只有等了:-(
回复 支持 反对

使用道具 举报

发表于 2005-11-1 17:05:55 | 显示全部楼层
可以手动编译libXft ,安装后把 /usr/X11R6/lib/libXft.so.2.1.2 rename 成 libXft.so.2.1.7
回复 支持 反对

使用道具 举报

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

本版积分规则

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