LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 786|回复: 1

声卡加载问题和fontconfig设置问题,请热心人帮忙解决

[复制链接]
发表于 2006-1-7 23:57:43 | 显示全部楼层 |阅读模式
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来显示英文的。请指教。可能说的有些不清楚,请多包涵。
 楼主| 发表于 2006-1-9 00:48:03 | 显示全部楼层
自己顶一下。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表