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

[MD:4201] Re: bdffont



やっと BDF font の設定をしようと思い立ちました。

>>>>> In [meadow-develop : No.3129] 
>>>>> “Abe” = ABE Yasushi (阿部 靖司) <yas@xxxxxxxxxxx> wrote:
Abe> > MW32LogicalFont の dim, encoding_type, ccl_method には何を設定するんで
Abe> > しょうか?

encoding_type は、BDF ファイルを覗くと lt1-16-etl.bdf なら
: CHARSET_ENCODING "1"
で、etl8x16-bitmap.bdf なら
: CHARSET_ENCODING "0"
となってて、これを指定するってことですよね?

でも dim ってなんですか? で、設定も質問。

Abe> 設定はこんな感じです。
Abe> (w32-add-font
Abe>  "bdf-16"
Abe>  '((strict-spec
Abe>     ((:char-spec ascii :height any)
Abe>      (bdf-font "c:/Meadow/bdf/non-cjk/etl16-latin1.bdf"))
Abe>     ((:char-spec ascii :height any :weight bold)
Abe>      (bdf-font "c:/Meadow/bdf/non-cjk/etl16b-latin1.bdf"))
Abe>     ((:char-spec ascii :height any :slant italic)
Abe>      (bdf-font "c:/Meadow/bdf/non-cjk/etl16i-latin1.bdf"))

         ((:char-spec ascii :height any :weight  bold :slant italic)
          (bdf-font "c:/Meadow/bdf/non-cjk/etl16bi-latin1.bdf"))
が抜けてる。 encoding-type は 付けないと 1 ってこと?

Abe>     ((:char-spec bitmap :height any)
Abe>      (bdf-font "c:/Meadow/bdf/ETL/etl8x16-bitmap.bdf")
Abe>      ((encoding-type . 0) (dim . 2)))
Abe>     )))

encoding-type は 0 だけど、この dim ってなんですか? 付けない
とどうなるんですか?

http://www.boreas.dti.ne.jp/~miyoshi/Meadow2/index.html
に書いてある
:    ((:char-spec ascii :height any :weight normal)
:     (bdf-font "c:/usr/local/share/emacs/fonts/bdf/lt1-16i-etl.bdf"))
は、
    ((:char-spec ascii :height any :slant italic)
     (bdf-font "c:/usr/local/share/emacs/fonts/bdf/lt1-16i-etl.bdf"))
ですか?

「:weight」は省略すると「normal」になるの?

それから
http://www.fan.gr.jp/~ring/doc/font-setup.html
の設定を使うと「\」が「¥」と表示される?
-- 
こせき      -- 『¥』と『\』をきちんと識別できていますか? (^_^)♪ --