[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

[MD:3578]フォントの設定



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/