分三段,
第一段是append,使中英文一起显示英文优先使用英文字体;
第二段是让系统认文泉译点阵字用的;
第三段是字体prefer,选字体的顺序,我注释掉了,因为language-selector里的fontconfig里已经有相应的内容了。
我使用的中文字体为微软雅黑,点阵是文泉译。
[table=95%][tr][td][font=新宋体][color=#00cc]<fontconfig>
<include ignore_missing="yes">/var/lib/defoma/fontconfig.d/fonts.conf</include>
[/font][font=新宋体]
<match target="pattern">
<test qual="any" name="family">
<string>serif</string>
</test>
<edit name="family" mode="append" binding="strong">
<string>DejaVu Serif</string>
<string>microsoft yahei</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="append" binding="strong">
<string>DejaVu Sans</string>
<string>microsoft yahei</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>monospace</string>
</test>
<edit name="family" mode="append" binding="strong">
<string>DejaVu Sans Mono</string>
<string>microsoft yahei</string>
</edit>
</match>
[/font][/color]
[font=新宋体][color=#ff9933]
<selectfont>
<acceptfont>
<pattern>
<patelt name="family"><string>WenQuanYi Bitmap Song</string></patelt>
</pattern>
</acceptfont>
</selectfont>
[/font][font=新宋体]
</fontconfig>[/font]
[/color]
[/td][/tr][/table]