QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1372|回复: 2

为何粗体出不来?

[复制链接]
发表于 2006-6-10 14:10:33 | 显示全部楼层 |阅读模式
fontconfig为2.3.2
freetype为2.1.10
编译libXft2.1.10,看了一下fonts.conf
有[code:1]<!--
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>200</int>
                </test>
                <!-- set the embolden flag -->
                <edit name="embolden" mode="assign">
                        <bool>true</bool>
                </edit>
        </match>
[/code:1]

这一段..然后重起X,没发现粗体...

下载2.1.7的libXft重新编译 ,还是不行..

我还有哪里没有做?

猪肝说他用的好好的,,,强烈要求他给我个解释或者解决方法
发表于 2006-6-10 18:19:07 | 显示全部楼层
[code:1]      <test target="pattern" name="weight" compare="more_eq">
         <int>180</int>
      </test> [/code:1]
回复

使用道具 举报

 楼主| 发表于 2006-6-10 20:34:36 | 显示全部楼层
这个应该是粗体的程度吧

不过偶也试过,没用
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-4-28 03:57 , Processed in 0.078046 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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