当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 3 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [问题]安装了文泉驿字体之后,修改配置文件错误,请大家帮忙解答
帖子发表于 : 2008-02-29 21:54 
头像

注册: 2008-02-21 23:17
帖子: 13
送出感谢: 0 次
接收感谢: 0 次
安装了文泉驿字体之后,修改配置文件错误,打开配置文件就会出现下面的错误
不过修改配置文件还是可以的,就是希望能去掉最后那一句Fontconfig erro
docohou@ubuntu:~$ sudo gedit /boot/grub/menu.lst
[sudo] password for docohou:
Fontconfig error: "language-selector.conf", line 15: mismatched tag
Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
GTK Panel of SCIM 1.4.7

Fontconfig error: "language-selector.conf", line 15: mismatched tag



这是我字体的配置文件

<fontconfig>
<include ignore_missing="yes">CJK_aliases</include>

<alias>
<family>serif</family>
<prefer>
<family>AR PL UMing CN</family>
<family>AR PL ShanHeiSun Uni</family>
<family>WenQuanYi Bitmap Song</family>
<family>Bitstream Vera Serif</family>
<family>DejaVu Serif</family>
<family>文泉驿正黑<family>
<family>AR PL UKai CN</family>
<family>AR PL ZenKai Uni</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>AR PL UMing CN</family>
<family>AR PL ShanHeiSun Uni</family>
<family>WenQuanYi Bitmap Song</family>
<family>Bitstream Vera Sans</family>
<family>文泉驿正黑<family>
<family>DejaVu Sans</family>
<family>AR PL UKai CN</family>
<family>AR PL ZenKai Uni</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>AR PL UMing CN</family>
<family>文泉驿正黑<family>
<family>AR PL ShanHeiSun Uni</family>
<family>WenQuanYi Bitmap Song</family>
<family>Bitstream Vera Sans Mono</family>
<family>DejaVu Sans Mono</family>
<family>AR PL UKai CN</family>
<family>AR PL ZenKai Uni</family>
</prefer>
</alias>

<match target="font" >
<test name="family" compare="contains" >
<string>Song</string>
<string>Sun</string>
<string>Kai</string>
<string>Ming</string>
</test>
<!-- check to see if the font is just regular -->
<test name="weight" compare="less_eq">
<int>100</int>
</test>
<test compare="more_eq" target="pattern" name="weight" >
<int>180</int>
</test>
<edit mode="assign" name="embolden" >
<bool>true</bool>
</edit>
</match>

<match target="font" >
<test name="family" compare="contains" >
<string>Song</string>
<string>Sun</string>
<string>Ming</string>
</test>
<edit name="globaladvance">
<bool>false</bool>
</edit>
<edit name="spacing">
<int>0</int>
</edit>
<edit name="hinting">
<bool>true</bool>
</edit>
<edit name="autohint">
<bool>false</bool>
</edit>
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
<test compare="more_eq" name="pixelsize">
<double>11</double>
</test>
<test compare="less_eq" name="pixelsize">
<double>16</double>
</test>
<edit name="antialias" mode="assign" >
<bool>false</bool>
</edit>
</match>
</fontconfig>


页首
 用户资料  
 
2 楼 
 文章标题 : Re: [问题]安装了文泉驿字体之后,修改配置文件错误,请大家帮忙解答
帖子发表于 : 2008-02-29 21:58 
头像

注册: 2007-02-02 18:14
帖子: 30702
系统: debian sid
送出感谢: 1
接收感谢: 34
docohou 写道:
安装了文泉驿字体之后,修改配置文件错误,打开配置文件就会出现下面的错误
不过修改配置文件还是可以的,就是希望能去掉最后那一句Fontconfig erro
docohou@ubuntu:~$ sudo gedit /boot/grub/menu.lst
[sudo] password for docohou:
Fontconfig error: "language-selector.conf", line 15: mismatched tag
Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
GTK Panel of SCIM 1.4.7

Fontconfig error: "language-selector.conf", line 15: mismatched tag



这是我字体的配置文件

<fontconfig>
<include ignore_missing="yes">CJK_aliases</include>

<alias>
<family>serif</family>
<prefer>
<family>AR PL UMing CN</family>
<family>AR PL ShanHeiSun Uni</family>
<family>WenQuanYi Bitmap Song</family>
<family>Bitstream Vera Serif</family>
<family>DejaVu Serif</family>
<family>文泉驿正黑<family>
<family>AR PL UKai CN</family>
<family>AR PL ZenKai Uni</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>AR PL UMing CN</family>
<family>AR PL ShanHeiSun Uni</family>
<family>WenQuanYi Bitmap Song</family>
<family>Bitstream Vera Sans</family>
<family>文泉驿正黑<family>
<family>DejaVu Sans</family>
<family>AR PL UKai CN</family>
<family>AR PL ZenKai Uni</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>AR PL UMing CN</family>
<family>文泉驿正黑<family>
<family>AR PL ShanHeiSun Uni</family>
<family>WenQuanYi Bitmap Song</family>
<family>Bitstream Vera Sans Mono</family>
<family>DejaVu Sans Mono</family>
<family>AR PL UKai CN</family>
<family>AR PL ZenKai Uni</family>
</prefer>
</alias>

<match target="font" >
<test name="family" compare="contains" >
<string>Song</string>
<string>Sun</string>
<string>Kai</string>
<string>Ming</string>
</test>
<!-- check to see if the font is just regular -->
<test name="weight" compare="less_eq">
<int>100</int>
</test>
<test compare="more_eq" target="pattern" name="weight" >
<int>180</int>
</test>
<edit mode="assign" name="embolden" >
<bool>true</bool>
</edit>
</match>

<match target="font" >
<test name="family" compare="contains" >
<string>Song</string>
<string>Sun</string>
<string>Ming</string>
</test>
<edit name="globaladvance">
<bool>false</bool>
</edit>
<edit name="spacing">
<int>0</int>
</edit>
<edit name="hinting">
<bool>true</bool>
</edit>
<edit name="autohint">
<bool>false</bool>
</edit>
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
<test compare="more_eq" name="pixelsize">
<double>11</double>
</test>
<test compare="less_eq" name="pixelsize">
<double>16</double>
</test>
<edit name="antialias" mode="assign" >
<bool>false</bool>
</edit>
</match>
</fontconfig>

少了一个/


_________________
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2008-03-01 12:53 
头像

注册: 2008-02-21 23:17
帖子: 13
送出感谢: 0 次
接收感谢: 0 次
非常感谢2楼的高手阿,问题解决了,原来是自己一个小失误
感谢之意有如滔滔江水,延綿不觉阿~


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 3 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:Sogou [Spider] 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译