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

Re: Meadow2での14ポイントbdfフォント使用について



>>>>> [meadow-users-jp : No.5165] にて
>>>>> "三好" = 私は書きました:
三好> この設定では、"MS ゴシック"については、Info の見出しがスケーラ
三好> ブルにならなくなったのでした。
三好> ;; face の family に `*' が指定されている場合にスケーラブルになら
三好> ;; ない。

簡単なフォント設定でスケーラブルになるように Meadow2 を修正してお
きました。

設定例を下記に示します。
(set-face-attribute 'variable-pitch nil :family "*")
の部分が設定のポイントです。

スケーラブル表示を確認するには、
M-x info
M-x list-faces-display
と入力してみてください。

----------------------------------------------------------------------
;; 16ドットフォントの設定
;; 14ドットの場合は 120 -> 105, -13 -> -11, -16 -> -14 に変更する
(w32-add-font
 "tt-font"
 `((spec
    ((:char-spec ascii :height 120)
     strict
     (w32-logfont "Courier New" 0 -13 400 0 nil nil nil 0 1 3 49))
    ((:char-spec ascii :height 120 :slant italic)
     strict
     (w32-logfont "Courier New" 0 -13 400 0   t nil nil 0 1 3 49))
    ((:char-spec ascii :height 120 :weight bold)
     strict
     (w32-logfont "Courier New" 0 -13 700 0 nil nil nil 0 1 3 49))
    ((:char-spec ascii :height 120 :weight bold :slant italic)
     strict
     (w32-logfont "Courier New" 0 -13 700 0   t nil nil 0 1 3 49))
    ((:char-spec japanese-jisx0208 :height 120)
     strict
     (w32-logfont "MS ゴシック" 0 -16 400 0 nil nil nil 128 1 3 49))
    ((:char-spec japanese-jisx0208 :height 120 :weight bold)
     strict
     (w32-logfont "MS ゴシック" 0 -16 700 0 nil nil nil 128 1 3 49)
     ((spacing . -1)))
    ((:char-spec japanese-jisx0208 :height 120 :slant italic)
     strict
     (w32-logfont "MS ゴシック" 0 -16 400 0   t nil nil 128 1 3 49))
    ((:char-spec japanese-jisx0208 :height 120 :weight bold :slant italic)
     strict
     (w32-logfont "MS ゴシック" 0 -16 700 0   t nil nil 128 1 3 49)
     ((spacing . -1))))))

(set-face-attribute 'variable-pitch nil :family "*")

(setq list-faces-sample-text "abcdefg ABCDEFG あいうえお 日本語")

(setq default-frame-alist
      (cons '(font  . "tt-font") default-frame-alist))

----------------------------------------------------------------------

--
三好 雅則 mailto:miyoshi@xxxxxxxxxxxxxxxx
          http://www.boreas.dti.ne.jp/~miyoshi/ (Meadow2 のページ更新中)