LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: 98118

gnome桌面yast2 qt的gui字体怎么改?

[复制链接]
发表于 2008-12-23 08:06:48 | 显示全部楼层
suse-pre-user.conf是字体取代的内容,是用于不是本字体语系的字体,用什么字体取代。
列如:
        <match target="pattern">
                <test name="family">
                        <string>SUSE Sans</string>
                </test>
                <edit name="family" mode="append" binding="same">
                            <string>方正小标宋_GBK</string>
                        <string>DejaVu Sans</string>
                </edit>
        </match>

        <match target="pattern">
                <test name="family">
                        <string>SUSE Sans</string>
                </test>
                <test name="style">
                        <string>Roman</string>
                </test>
                <edit name="family" mode="append" binding="same">
                        <string>方正小标宋_GBK</string>
                        <string>DejaVu Sans</string>
                </edit>
                <edit name="style" mode="append" binding="same">
                        <string>Book</string>
                </edit>
        </match>

        <match target="pattern">
                <test name="family">
                        <string>SUSE Sans Mono</string>
                </test>
                <edit name="family" mode="append" binding="same">
                        <string>方正小标宋_GBK</string>
                        <string>DejaVu Sans Mono</string>
                </edit>
        </match>

        <match target="pattern">
                <test name="family">
                        <string>SUSE Sans Mono</string>
                </test>
                <test name="style">
                        <string>Roman</string>
                </test>
                <edit name="family" mode="append" binding="same">
                        <string>方正小标宋_GBK</string>
                        <string>DejaVu Sans Mono</string>
                </edit>
                <edit name="style" mode="append" binding="same">
                        <string>Book</string>
                </edit>
        </match>

        <match target="pattern">
                <test name="family">
                        <string>SUSE Serif</string>
                </test>
                <edit name="family" mode="append" binding="same">
                        <string>方正小标宋_GBK</string>
                        <string>DejaVu Serif</string>
                </edit>
        </match>

        <match target="pattern">
                <test name="family">
                        <string>SUSE Serif</string>
                </test>
                <test name="style">
                        <string>Roman</string>
                </test>
                <edit name="family" mode="append" binding="same">
                        <string>方正小标宋_GBK</string>
                        <string>DejaVu Serif</string>
                </edit>
                <edit name="style" mode="append" binding="same">
                        <string>Book</string>
                </edit>
        </match>
回复 支持 反对

使用道具 举报

发表于 2008-12-23 08:12:06 | 显示全部楼层
suse-post-user.conf里头的字体顺序,影响到带表格网页里头的字体的首选字体。

以上是我的粗经验,有不当,请高手斧正,让新手能受益。
回复 支持 反对

使用道具 举报

发表于 2008-12-23 08:17:52 | 显示全部楼层
我采用的字体,见我的字体贴一页,胜于leopard系统中的字体显示了,并且在gnome下显示很完美了。kde下不清锐,所以求解。
回复 支持 反对

使用道具 举报

发表于 2008-12-28 02:29:49 | 显示全部楼层
Post by piaopiao;1928222
yast面板的字体修改在49-sansserial.conf,请直接替换里头的124上的字体。字体方面我觉得浪漫雅圆,方正准圆_GBK,方正小标宋_GBK,微软雅黑等字体较好。方正小标宋_GBK的字体比较粗狂,有男人的正气感,方正准圆_GBK,浪漫雅圆比较细腻。
这里的修改可影响konqueror的某些页面的字体,列如www.linuxsir.cn/main的字体。kde4下console中mc的字体。
但是谁知道suse里头的字体模糊是哪个文件里头修改的?

对,应该是你所说的那个文件,要影响FIREFOX、opera菜单、输入法、YAST2的内容(不是菜单)的字体等等。
我把wqy的rpm包删除后字体变成默认的了。 我现在想修改怎么办。

我的
49-sansserif.conf

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!--
  If the font still has no generic name, add sans-serif
-->
        <match target="pattern">
                <test qual="all" name="family" compare="not_eq">
                        <string>sans-serif</string>
                </test>
                <test qual="all" name="family" compare="not_eq">
                        <string>serif</string>
                </test>
                <test qual="all" name="family" compare="not_eq">
                        <string>monospace</string>
                </test>
                <edit name="family" mode="append_last">
                        <string>sans-serif</string>
                </edit>
        </match>
</fontconfig>
回复 支持 反对

使用道具 举报

发表于 2008-12-28 12:22:37 | 显示全部楼层
我和2L的做法一样
顶一下
回复 支持 反对

使用道具 举报

发表于 2009-5-4 20:51:37 | 显示全部楼层
Post by piaopiao;1928222
yast面板的字体修改在49-sansserial.conf,请直接替换里头的124上的字体。字体方面我觉得浪漫雅圆,方正准圆_GBK,方正小标宋_GBK,微软雅黑等字体较好。方正小标宋_GBK的字体比较粗狂,有男人的正气感,方正准圆_GBK,浪漫雅圆比较细腻。
这里的修改可影响konqueror的某些页面的字体,列如www.linuxsir.cn/main的字体。kde4下console中mc的字体。
但是谁知道suse里头的字体模糊是哪个文件里头修改的?
这个文件在哪个位置,没有搜索到啊
回复 支持 反对

使用道具 举报

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

本版积分规则

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