LinuxSir.cn,穿越时空的Linuxsir!

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

[搞定]Konsole里边缺失汉字

[复制链接]
发表于 2007-4-30 23:28:37 | 显示全部楼层 |阅读模式
一个很简单的事情,搞不定了,晕死。
如题,上次系统出问题后,全新安装后,现在搞不定KDE下缺失汉字,需要修改那些文件?谢谢。
把以前系统的配置搞过来,了事。
发表于 2007-4-30 23:35:45 | 显示全部楼层
找个能“跳过那只懒狗”的就可以了吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-1 02:08:05 | 显示全部楼层
Post by 三翻领
找个能“跳过那只懒狗”的就可以了吧

谢谢回复,我用的en的locale,没有办法判断。
用了偷懒的方法,把以前系统的配置搞过来。
回复 支持 反对

使用道具 举报

发表于 2007-5-3 23:10:43 | 显示全部楼层
楼主贴一个配置吧。
以前一直用hauser的配置,现在用rxvt unicode, console偶尔用,一直就凑活着呢。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-4 04:59:29 | 显示全部楼层
Post by bookstack
楼主贴一个配置吧。
以前一直用hauser的配置,现在用rxvt unicode, console偶尔用,一直就凑活着呢。

我用的是3N的那个配置,估计就是local.conf设定起了作用。需要的话,我发给你。
回复 支持 反对

使用道具 举报

发表于 2007-5-4 20:07:02 | 显示全部楼层
我需要呢,传个给我吧..谢谢!
hayse2000[at]163[dot]com
回复 支持 反对

使用道具 举报

发表于 2007-5-6 23:16:26 | 显示全部楼层
可以贴在这里吗?或者 kunxi AT kunxi.org
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-7 07:36:55 | 显示全部楼层
我发个附件了。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2007-5-8 00:27:08 | 显示全部楼层
楼主用的是微软雅黑吧, 还是想用simsun。

现在我的问题是,konqueror遇到中文以后,用的kochi的字体,而不是SimSun.

[PHP]
/etc/fonts/local.conf

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file for local customizations -->
<fontconfig>
<!--
  Enable sub-pixel rendering
        <match target="font">
                <edit name="rgba" mode="assign"><const>rgb</const></edit>
        </match>
-->
<!-- Add wqy from:
http://forums.gentoo.org/viewtopic-t-541169.html -->
<alias>
    <family>serif</family>
        <prefer>
        <family>Bitstream Vera Serif</family>
        <family>Times New Roman</family>
        <family>SimSun</family>
        </prefer>
</alias>

<alias>
    <family>sans-serif</family>
        <prefer>
        <family>Bitstream Vera Sans</family>
        <family>Verdana</family>
        <family>SimSun</family>
        </prefer>
</alias>

<alias>
    <family>monospace</family>
        <prefer>
        <family>Bitstream Vera Sans Mono</family>
        <family>Courier New</family>
        <family>SimSun</family>
        </prefer>
</alias>

<match target="font">
        <test target="pattern" name="lang" compare="contains">
                <string>zh-tw</string>
                <string>zh-cn</string>
                <string>ja</string>
                <string>ko</string>
        </test>
        <test name="spacing" compare="eq">
                <const>mono</const>
        </test>
        <edit name="globaladvance" mode="assign">
                <bool>false</bool>
        </edit>
</match>
</fontconfig>
[/PHP]

qtconfig的输出:
[PHP]
[Font Substitutions]
Bitstream Vera Sans=SimSun^eKochi Gothic^e
Bitstream Vera Sans Mono=SimSun^eKochi Gothic^e
Bitstream Vera Serif=SimSun^eKochi Gothic^e
Helvetica=SimSun^e
Luxi Mono=SimSun^e
Luxi Sans=SimSun^e
Luxi Serif=SimSun^e
Monospace=SimSun^e
Sans=SimSun^e
Sans Serif=SimSun^eAR PL SungtiL GB^e
Serif=SimSun^eAR PL SungtiL GB^e
Times=SimSun^eKochi Gothic^e
Verdana=SimSun^e
arial=helvetica^e
helv=helvetica^e
tms rmn=times^e
[/PHP]

konqueror的字体用的是默认的配置。

大家帮忙看看阿。
回复 支持 反对

使用道具 举报

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

本版积分规则

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