升级过程比较烦,升级后连X都不能启动。得重新配置xorg才行。但鼠标指针变得好难好的(sudo apt-get install libx11-dev 搞定)。
fonts.conf也被替换了。进来之后,马上就想到我们的中文粗体。本想直接换圆体字的那个的。但仔细看新的fonts.conf,怎么有些不同,多了一两段代码的。于是,仅仅把圆体字加进去就算了。
但一重启X,却已经看到了中文粗体了!
对于此现象,我不敢妄加猜测与评论。因为之前的系统已经用圆体实现了中文粗体的。
但,我觉得新的fonts.conf中的以下代码应该起了作用:
(只是发出来让大家看看)
代码: 全选
<!--
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>
<config>