Foros: M+ BITMAP FONTS (Thread #23971)

error "Fontset name must be in XLFD format" (2009-09-18 13:52 by wataru #45988)

GNU Emacs 23.1.1を使っています。
mplus fontをinstallし、
"~/.emacs" に示された通りの記述をすると、
------------------------------------------------
Debugger entered--Lisp error: (error "Fontset name must be in XLFD format")
new-fontset("-mplus-*-mplus-r-normal--10-*-*-*-*-*-fontset-mplus_10r" ((ascii #<font-spec nil mplus gothic iso8859-1 medium r normal 10 nil nil nil ...>) (han #<font-spec nil mplus gothic jisx0208\.1990-0 medium r normal 10 nil nil nil ...>) (kana #<font-spec nil mplus gothic jisx0201\.1976-0 medium r normal 10 nil nil nil ...>)))
create-fontset-from-fontset-spec("-mplus-*-mplus-r-normal--10-*-*-*-*-*-fontset-mplus_10r,\n ascii:-mplus-gothic-medium-r-normal--10-*-iso8859-1,\n japanese-jisx0208:-mplus-gothic-medium-r-normal--10-*-jisx0208.1990-0,\n katakana-jisx0201:-mplus-gothic-medium-r-normal--10-*-jisx0201.1976-0")
eval-buffer(#<buffer *load*> nil "/home/wataru/.emacs" nil t) ; Reading at buffer position 9267
........
-------------------------------------------------
と言われます。
考える原因は何でしょうか?
情報が足りなければ、おっしゃってください。
よろしくおねがいします。

Responder al #45988×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Entrar

RE: error "Fontset name must be in XLFD forma (2009-09-24 20:32 by coz #46067)

こんにちは。
現在、自分の環境では X11 すらインストールしていないために検証できないでいます。
# Emacs はターミナル上で使用しているので、フォント設定はターミナル側で行っています。

Emacs 22.x.x の時はいかがでしたか?
23 になってフォント設定の方法に変更があったような記事を見かけた気がします。
「"Emacs 23" pcf OR bdf フォント設定」あたりで調べてみると良いかもしれません。
お力になれなくて申し訳ありません。
Responder al #45988

Responder al #46067×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Entrar

RE: error "Fontset name must be in XLFD format" (2009-09-25 10:59 by wataru #46071)

replyありがとうございます。

先ず結論ですが、検索してEmacs 23.xのfont設定にしたら、Errorが消えました。
お騒がせしました。
webに載っている設定は、Emacs 23.xには利用できないということを理解しました。

結論から言いますと、Emacs 22.xではwebに載っている設定は利用できました。

コメントありがとうございました。
Responder al #45988

Responder al #46071×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Entrar