[问题]修改配置文件错误,打开配置文件就会出现下面的错误 help help help ~~~~~~~

系统字体配置、中文显示和输入法问题
回复
头像
er18
帖子: 72
注册时间: 2008-04-29 16:35
来自: hubei
送出感谢: 0
接收感谢: 0
联系:

[问题]修改配置文件错误,打开配置文件就会出现下面的错误 help help help ~~~~~~~

#1

帖子 er18 » 2008-05-07 3:23

安装的雅黑字体
sudo gedit /etc/fonts/language-selector.conf
Fontconfig error: "language-selector.conf", line 23: junk after document element

language-selector.conf:

代码: 全选

<alias>

                <family>serif</family>
                <family>Microsoft YaHei</family>

                <prefer>

                        <family>Bitstream Vera Serif</family>
                        <family>Microsoft YaHei</family>

                        <family>DejaVu Serif</family>

                        <family>AR PL ShanHeiSun Uni</family>

                        <family>WenQuanYi Bitmap Song</family>

                        <family>AR PL ZenKai Uni</family>

                </prefer>

        </alias>

        <alias>

                <family>sans-serif</family>
                <family>Microsoft YaHei</family>

                <prefer>

                        <family>Bitstream Vera Sans</family>
                        <family>Microsoft YaHei</family>

                        <family>DejaVu Sans</family>

                        <family>AR PL ShanHeiSun Uni</family>

                        <family>WenQuanYi Bitmap Song</family>

                        <family>AR PL ZenKai Uni</family>

                </prefer>

        </alias>

        <alias>

                <family>monospace</family>
                <family>Microsoft YaHei</family>

                <prefer>

                        <family>Bitstream Vera Sans Mono</family>
                        <family>Microsoft YaHei</family>

                        <family>DejaVu Sans Mono</family>

                        <family>AR PL ShanHeiSun Uni</family>

                        <family>WenQuanYi Bitmap Song</family>

                        <family>AR PL ZenKai Uni</family>

                </prefer>

        </alias>
头像
232904887
帖子: 122
注册时间: 2007-08-14 17:30
送出感谢: 0
接收感谢: 0
联系:

#2

帖子 232904887 » 2008-05-07 5:42

为什么要配置呢? WIKI里有8.04安装亚黑配置的方法。。。
http://wiki.ubuntu.org.cn/%E5%A6%82%E4% ... E%E5%8C%96
回复

回到 “字体美化和中文支持”