|
|
首先我没有用黑体替换 simsun.ttc 粗体之类的方法(替换是能正确显示黑体)。
而且我知道看到的 simsun 粗体是 fontconfig 给手工模拟的。- <!--
- 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>
复制代码 上面这一段就是 fonts.conf 模拟粗体的语句。去掉后 linuxfans 里也看不到中文粗体了。
用 firefox 在 linuxsir 的版面看不到中文部分人工粗体,只看到英文部分的粗体,而在 linuxfans 却能看到二者。
用 konqueror 却能看到 linuxsir 的中文部分人工粗体,这个问题困惑好久。 |
|