DeddZedd / dea

Automatically exported from code.google.com/p/dea
0 stars 0 forks source link

Ubuntu 9.10下出现错误error: Font `fontset-courier' is not defined #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Ubuntu 9.10是全新安装的,然后安装的Gnu Emacs 
23.1,按照您网页上的提示安装后
启动Emacs时出现以下错误:

Warning (initialization): An error occurred while loading
`/home/username/.emacs':

error: Font `fontset-courier' is not defined

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace.

不知道应该如何解决这个问题?

Original issue reported on code.google.com by yueyue...@gmail.com on 10 Jan 2010 at 3:00

GoogleCodeExporter commented 8 years ago
忘了说明了,不是用的realse版本,用的是svn版本。

Original comment by yueyue...@gmail.com on 10 Jan 2010 at 3:04

GoogleCodeExporter commented 8 years ago
你搜索.emacs,把下面这段话注释掉就可以了
(when (and window-system is-after-emacs-23)
  (load "my-fontset-win")
  (if mswin
      (huangq-fontset-courier 17)
    ;; (huangq-fontset-dejavu 17)))
    (huangq-fontset-fixedsys 17)))

Original comment by ahei0802 on 11 Jan 2010 at 7:46

GoogleCodeExporter commented 8 years ago
可以了!谢谢你!

Original comment by yueyue...@gmail.com on 11 Jan 2010 at 12:18

GoogleCodeExporter commented 8 years ago

Original comment by ahei0802 on 12 Jan 2010 at 6:27