LinuxSir.cn,穿越时空的Linuxsir!

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

升级到xorg-x11-7.0后,fvwm汉字乱码

[复制链接]
发表于 2006-4-4 10:45:18 | 显示全部楼层 |阅读模式
原来用xorg-x11-6.8的时候好好的,升级到xorg-x11-7.0后汉字就乱码了。重新编译了glibc,重新做过了emerge -e system还是一样。

~ # ls /usr/lib/locale/
en_US.utf8  zh_CN.utf8

~ # cat /etc/locales.build
# This file names the list of locales to be built when glibc is installed.
# The format is <locale>/<charmap>, where <locale> is a locale from the
# /usr/share/i18n/locales directory, and <charmap> is name of one of the files
# in /usr/share/i18n/charmaps/. All blank lines and lines starting with # are
# ignored. Here is an example:
# en_US/ISO-8859-1

en_US.UTF-8/UTF-8
zh_CN.UTF-8/UTF-8

~ # cat /etc/X11/xorg.conf
Section "InputDevice"
        Identifier "Mouse1"
        Driver "mouse"
        Option "protocol" "IMPS/2"
        Option "Device" "/dev/input/mice"
        Option "ZAxisMapping" "4 5"
EndSection
Section "Module"
        Load    "extmod"
        Load    "dbe"
        Load    "glx"
        Load    "freetype"
EndSection
Section "Monitor"
        Identifier      "Builtin Default Monitor"
        HorizSync 30.0 - 97.0
        VertRefresh 50.0 - 160.0
        Option "DPMS"
        Option  "TargetRefresh" "85.0"
EndSection
Section "Device"
        Identifier      "Builtin Default nv Device 0"
        Driver "nvidia"
        #Driver "nv"
        #Option "RenderAccel" "True"
EndSection
Section "Screen"
        Identifier      "Builtin Default nv Screen 0"
        Device  "Builtin Default nv Device 0"
        Monitor "Builtin Default Monitor"
        DefaultDepth 24
        SubSection "Display"
               Modes "1280x1024"
#               Option "TargetRefresh" "85.0"
               Depth 24
         EndSubSection
EndSection
Section "ServerLayout"
        Identifier      "Builtin Default Layout"
        Screen  "Builtin Default nv Screen 0"
EndSection
发表于 2006-4-4 11:47:26 | 显示全部楼层
修改/etc/fonts/fonts.conf?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-4 13:27:41 | 显示全部楼层
没改过,要改吗?
回复 支持 反对

使用道具 举报

发表于 2006-4-4 16:44:32 | 显示全部楼层
好像在kate、kwrite等程序下输入中文,自动调用的是monospace,以前我就出来的是乱码。后来对fonts.conf修改了monospace,增加了文泉驿或simsun后就正常了。终端字体也是一样的。
回复 支持 反对

使用道具 举报

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

本版积分规则

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