QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1781|回复: 0

粗体模模糊糊的怎么办?

[复制链接]
发表于 2006-8-31 17:44:21 | 显示全部楼层 |阅读模式
gentoo升级到了xorg-x11-7.0.1, fontconfig-2.3.2, freetype-2.1.10
sans 粗体模糊,笔画密的会密得粘在一起,常规字体也发虚,怎么办?

我没有打任何补丁, /etc/fonts/local.conf主要部分如下 :
[code:1]
<match target="font">

        <test name="family" qual="any">
<string>Tahoma</string>
<string>Verdana</string>
<string>Arial</string>
<string>Times</string>
<string>Times New Roman</string>
<string>Courier</string>
<string>Courier New</string>
<string>SimSun</string>
<string>MingLiU</string>
</test>

        <!--
                <edit mode="assign" name="antialias" >
                        <bool>true</bool>
                </edit>
                <edit mode="assign" name="hint">
                        <bool>true</bool>
                </edit>
                <edit mode="assign" name="autohint">
                        <bool>false</bool>
                </edit>
               
-->
</match>

        <match target="font">

        <edit name="spacing">
<const>proportional</const>
</edit>

        <edit name="globaladvance">
<bool>false</bool>
</edit>
</match>

        <match target="pattern">

        <test name="family">
<string>Tahoma</string>
</test>

        <edit name="family" mode="append" binding="strong">
<string>SimSun</string>
</edit>
</match>
[/code:1]

/etc/fonts/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]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

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

本版积分规则

GMT+8, 2024-4-19 17:48 , Processed in 0.061795 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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