|
1、我现在每次重起计算机后,声卡还是能发生的,但是只能通过esound插件,用不了alsa,用alsaconf重新配置后,又可以用alsa的插件发声了,但重起还是不行。请问这是什么原因,给个提示。
2、在fontconfig中有没有办法实现用圆体的斜体来替代SimSun的斜体从而正常显示中文的斜体,其它的不变。我用了这些代码
<match target="pattern">
<test name="slant" compare="eq">
<const>roman</const>
</test>
<test name="family" compare="eq">
<string>SimSun</string>
</test>
<edit name="family" mode="assign">
<string>Vera Sans YuanTi</string>
</edit>
</match>
<match target="pattern">
<test name="slant" compare="eq">
<const>oblique</const>
</test>
<test name="family" compare="eq">
<string>SimSun</string>
</test>
<edit name="family" mode="assign">
<string>Vera Sans YuanTi</string>
</edit>
</match>
<match target="pattern">
<test name="slant" compare="eq">
<const>italic</const>
</test>
<test name="family" compare="eq">
<string>SimSun</string>
</test>
<edit name="family" mode="assign">
<string>Vera Sans YuanTi</string>
</edit>
</match>
效果是把所有的SimSun都变成了圆体,请指教一下为什么会这样。还有就是
<match target="pattern">
<test name="slant" compare="eq">
<const>roman</const>
</test>
<test name="family" compare="eq">
<string>Vera Sans YuanTi</string>
</test>
<edit name="family" mode="assign">
<string>SimSun</string>
</edit>
</match>
<match target="pattern">
<test name="slant" compare="not_eq">
<const>oblique</const>
</test>
<test name="family" compare="not_eq">
<string>Vera Sans YuanTi</string>
</test>
<edit name="family" mode="assign">
<string>SimSun</string>
</edit>
</match>
<match target="pattern">
<test name="slant" compare="not_eq">
<const>italic</const>
</test>
<test name="family" compare="eq">
<string>Vera Sans YuanTi</string>
</test>
<edit name="family" mode="assign">
<string>SimSun</string>
</edit>
</match>
这样为什么会把所有的字体都变成了SimSun,包括英文字体。我是用Tahoma来显示英文的。请指教。可能说的有些不清楚,请多包涵。 |
|