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

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



>>>>> [meadow-users-jp : No.5152] にて
>>>>> "山尾" = Takanori YAMAO <yama-ml@xxxxxxxx> さんは書きました:
山尾> .emacsに以下のような設定をして,MSゴシックとlt1-14-etl.bdf 
山尾> を使用しようとしたのですが,lt1-14-etl.bdfが使用されず,
山尾> courier newフォント(だと思います)が使用されてしまいます.

・括弧の位置が微妙に違います。
・この設定方法は obsolete です。

次のような設定でうまくいきませんか?

(w32-add-font
 "tt-font"
 '((spec
    ((:char-spec ascii :height 120)
     strict
     (bdf-font "c:/Meadow2/bdf/lt1-14-etl.bdf"))
    ((:char-spec ascii :height 120 :weight bold)
     strict
     (bdf-font "c:/Meadow2/bdf/lt2-14-etl.bdf"))
    ((:char-spec ascii :height 120 :slant italic)
     strict
     (bdf-font "c:/Meadow2/bdf/lt3-14-etl.bdf"))
    ((:char-spec ascii :height 120 :weight  bold :slant italic)
     strict
     (bdf-font "c:/Meadow2/bdf/lt4-14-etl.bdf"))
    ((:char-spec japanese-jisx0208 :height any)
     strict
     (w32-logfont "MS ゴシック" 0 14 400 0 nil nil nil 128 1 3 49))
    ((:char-spec japanese-jisx0208 :height any :weight bold)
     strict
     (w32-logfont "MS ゴシック" 0 14 700 0 nil nil nil 128 1 3 49)
     ((spacing . -1)))
    ((:char-spec japanese-jisx0208 :height any :slant italic)
     strict
     (w32-logfont "MS ゴシック" 0 14 400 0   t nil nil 128 1 3 49))
    ((:char-spec japanese-jisx0208 :height any :weight bold :slant italic)
     strict
     (w32-logfont "MS ゴシック" 0 14 700 0   t nil nil 128 1 3 49)
     ((spacing . -1))))))


なお、上の設定の場合は、下記は不要です。
> (when (require 'font-setup nil t)
>   (setq font-setup-bdf-dir "c:/Meadow2/bdf")
>   (font-setup))


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