|
有没有遇到类似的情况?如图所示。我用的是droid矢量字体加subpixel渲染,效果是chromium bookmark bar那样的。升到最新的chromium 11以后网页的字体渲染貌似忽略了.fonts.conf,变成了点阵字体。不知道有人遇到类似情况么?是bug还是要额外改什么?
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- font customization by LiYe -->
<!-- Turn on hinting and antialias -->
<match target="font">
<edit name="hinting" mode="assign"><bool>true</bool></edit>
<edit name="hintstyle" mode="assign"><const>hintslight</const></edit>
<edit name="antialias" mode="assign"><bool>true</bool></edit>
<edit name="rgba" mode="assign"><const>rgb</const></edit>
<edit name="lcdfilter" mode="assign"><const>lcddefault</const></edit>
</match>
<match target="font">
<test name="family" compare="contains">
<string>STHeiti</string>
<string>LiHei Pro</string>
<string>Hiragino Sans GB</string>
</test>
<edit name="hinting" mode="assign"><bool>false</bool></edit>
<edit name="autohint" mode="assign"><bool>false</bool></edit>
<edit name="antialias" mode="assign"><bool>true</bool></edit>
</match>
<alias>
<family>serif</family>
<prefer>
<family>Bitstream Vera Serif</family>
<family>Droid Sans Fallback</family>
<family>STHeiti</family>
<family>LiHei Pro</family>
<family>Hiragino Sans GB</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Bitstream Vera Sans</family>
<family>Droid Sans Fallback</family>
<family>STHeiti</family>
<family>LiHei Pro</family>
<family>Hiragino Sans GB</family>
</prefer>
</alias>
</fontconfig> |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|