Ticket #256 (new 不具合)

Opened 2 years ago

Last modified 2 years ago

:char-spec に char-table を設定しても無視される

Reported by: anonymous Assigned to:
Priority: major Milestone:
Component: その他/一般 Version: 3.00 (開発中)
Keywords: Cc:

Description

下記の設定で日本語を表示させると MS Gothic で表示される。

:char-spec ,tab を :char-spec japanese-jisx0208 に変えれば、 ちゃんと MS Mincho で表示される。

(let ((fn "MS Mincho")
      (fn2 "Courier New")
      (sz 24)
      (name "test-font")
      (tab (make-char-table 'fontset t)))
  (w32-add-font
   name
   `((spec
      ((:char-spec ascii :height any) strict
       (w32-logfont ,fn2 0 ,sz 400 0 nil nil nil 0 1 3 0))
      ((:char-spec ,tab :height any) strict
       (w32-logfont ,fn 0 ,sz 400 0 nil nil nil 128 1 3 0)
       ((encoding . shift_jis)))
      )))
  (set-frame-font name))

Attachments


Add/Change #256 (:char-spec に char-table を設定しても無視される)




Change Properties
Action