LinuxSir.cn,穿越时空的Linuxsir!

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

升级edgy以后的emacs字体问题

[复制链接]
发表于 2006-9-26 14:52:24 | 显示全部楼层 |阅读模式
我是用dapper升级到edgy的,升级以后,emacs的字体全变成方框
错误提示是:
(emacs)
Loading subst-jis...done
Loading subst-ksc...done
Loading subst-big5...done
Loading subst-gb2312...done
Loading 00debian-vars...done
Loading /etc/emacs-snapshot/site-start.d/50auctex.el (source)...
Loading /usr/share/emacs/22.0.50/site-lisp/auctex.el (source)...
Loading /usr/share/emacs/22.0.50/site-lisp/tex-site.el (source)...done
Loading /usr/share/emacs/22.0.50/site-lisp/auctex.el (source)...done
Loading /usr/share/emacs/22.0.50/site-lisp/preview-latex.el (source)...done
Loading /etc/emacs-snapshot/site-start.d/50auctex.el (source)...done
Loading /etc/emacs/site-start.d/50autoconf.el (source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Skipping dictionaries-common setup for emacs-snapshot
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done
Loading /etc/emacs/site-start.d/50emacs-goodies-el.el (source)...done
Loading /etc/emacs/site-start.d/50festival.el (source)...done
For information about the GNU Project and its goals, type C-h C-p. [2 times]
Unable to load font -adobe-helvetica-medium-r-normal--14-140-75-75-p-77-iso8859-1 [2 times]
Unable to load font -adobe-helvetica-bold-r-normal--14-140-75-75-p-82-iso8859-1
Unable to load font -adobe-helvetica-medium-o-normal--14-140-75-75-p-78-iso8859-1
Unable to load font -adobe-helvetica-medium-r-normal--14-140-75-75-p-77-iso8859-1
Unable to load font -adobe-helvetica-medium-r-normal--8-80-75-75-p-46-iso8859-1

但是我用xlsfonts看这些字体都是存在的

本帖子中包含更多资源

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

x
发表于 2006-9-26 16:08:18 | 显示全部楼层
看看字体选项,选择下字体
,还有新立得软件包立装了zh-cn的支持没.
我新手,没遇到这样的问题呢还
回复 支持 反对

使用道具 举报

发表于 2006-9-26 18:23:08 | 显示全部楼层
hua@vgh:de_dustyciti$ cat ~/.emacs
[php]
(prefer-coding-system 'utf-8)

(create-fontset-from-fontset-spec
  "-*-fixed-medium-r-normal-*-13-*-*-*-c-*-fontset-wenq,
  chinese-gb2312:-wenquanyi-wenquanyi bitmap song-medium-r-normal--15-150-75-75-p-80-iso10646-1,
  chinese-big5-1:-wenquanyi-wenquanyi bitmap song-medium-r-normal--15-150-75-75-p-80-iso10646-1,
  chinese-big5-2:-wenquanyi-wenquanyi bitmap song-medium-r-normal--15-150-75-75-p-80-iso10646-1,
  chinese-sisheng:-wenquanyi-wenquanyi bitmap song-medium-r-normal--15-150-75-75-p-80-iso10646-1,  chinese-cns11643-3:-wenquanyi-wenquanyi bitmap song-medium-r-normal--15-150-75-75-p-80-iso10646-1,
  chinese-cns11643-4:-wenquanyi-wenquanyi bitmap song-medium-r-normal--15-150-75-75-p-80-iso10646-1,
  chinese-cns11643-5:-wenquanyi-wenquanyi bitmap song-medium-r-normal--15-150-75-75-p-80-iso10646-1,
  chinese-cns11643-6:-wenquanyi-wenquanyi bitmap song-medium-r-normal--15-150-75-75-p-80-iso10646-1,
  chinese-cns11643-7:-wenquanyi-wenquanyi bitmap song-medium-r-normal--15-150-75-75-p-80-iso10646-1,
  japanese-jisx0208-1978:-wenquanyi-wenquanyi bitmap song-medium-r-normal--15-150-75-75-p-80-iso10646-1,
  japanese-jisx0208:-wenquanyi-wenquanyi bitmap song-medium-r-normal--15-150-75-75-p-80-iso10646-1,
  japanese-jisx0212:-wenquanyi-wenquanyi bitmap song-medium-r-normal--15-150-75-75-p-80-iso10646-1,
  japanese-jisx0213-1:-wenquanyi-wenquanyi bitmap song-medium-r-normal--15-150-75-75-p-80-iso10646-1,
  japanese-jisx0213-2:-wenquanyi-wenquanyi bitmap song-medium-r-normal--15-150-75-75-p-80-iso10646-1,
  "
)

(set-default-font "fontset-wenq")

;;这个函数确保新建一个frame的时候字体也是正确设置的
(add-to-list 'after-make-frame-functions
    (lambda (new-frame) (select-frame new-frame)
                        (set-default-font "fontset-wenq")))

[/php]
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-4 05:23:53 | 显示全部楼层
现在解决了,应该是xorg后的一个bug

参考了下面的link,把xorg.conf中关于字体目录的部分改一下就好了
http://groups.google.com/group/l ... 4003ac7c0350?lnk=st
回复 支持 反对

使用道具 举报

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

本版积分规则

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