[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]
[MD:3578]フォントの設定
- X-ml-count: 3578
- Subject: [MD:3578]フォントの設定
- From: MIYOSHI Masanori <miyoshi@xxxxxxxxxxxxxxxx>
- Date: Fri, 20 Sep 2002 22:15:00 +0900
- User-agent: T-gnus/6.15.8 (based on Oort Gnus v0.08) SEMI/1.14.3 (Ushinoya) LIMIT/1.14.7 (Fujiidera) APEL/10.3 Emacs/21.2 (i386-mingw-nt5.1.2600) MULE/5.0 (SAKAKI)
Meadow2 のフォントの設定についての質問です。
WindowsXP 上の Meadow2 で、フォント設定がうまくいかなくて、ずいぶ
ん悩んでいました。
TrueType フォントの bold を normal と等幅にしたいのですが、等幅に
はなるものの bold にならないのです。
ところが、Windows2000 で、同じ設定を試したところ、うそのように思
い通りに設定できました。
具体的には、下記の設定です。
これは、OS 依存の話なのでしょうか?
それとも、それ以外の環境依存の話なのでしょうか?
(w32-add-font
"fontset-std"
'((strict-spec
((:char-spec ascii :height any)
(w32-logfont "Courier New" 8 16 400 0 nil nil nil 0 1 3 49))
((:char-spec ascii :height any :weight bold)
(w32-logfont "Courier New" 9 16 700 0 nil nil nil 0 1 3 49))
((:char-spec ascii :height any :slant italic)
(w32-logfont "Courier New" 9 16 400 0 t nil nil 0 1 3 49))
((:char-spec ascii :height any :weight bold :slant italic)
(w32-logfont "Courier New" 9 16 700 0 t nil nil 0 1 3 49))
((:char-spec japanese-jisx0208 :height any)
(w32-logfont "MS ゴシック" 0 -16 400 0 nil nil nil 128 1 3 49))
((:char-spec japanese-jisx0208 :height any :weight bold)
(w32-logfont "MS ゴシック" 0 -16 700 0 nil nil nil 128 1 3 49))
((:char-spec japanese-jisx0208 :height any :slant italic)
(w32-logfont "MS ゴシック" 0 -16 400 0 t nil nil 128 1 3 49))
((:char-spec japanese-jisx0208 :height any :weight bold :slant italic)))))
;; スケーラブルにするための設定
(set-face-attribute 'variable-pitch nil :family "Courier New")
;; 2ch は、まったくなじめないですね。
--
三好 雅則 mailto:miyoshi@xxxxxxxxxxxxxxxx
http://www.boreas.dti.ne.jp/~miyoshi/