meadowについて語ってくれなスレッド

このエントリーをはてなブックマークに追加
なんかfontの設定するとかなり起動が遅くし、解決方法もわからないので、
結局xyzzyに戻した経験がある。
そこらへんのクソさは最近のでは改善されてんのか?
>>52
ばーか。
;; BDF フォント設定
(defvar bdf-font-directory "c:/MEADOW/intlfonts-1.2")
(defvar bdf-font-name-prefix "bdffont16-")

(defvar bdf-font-file-alist
 '((ascii "European/lt1-16-etl.bdf" 0)
  (latin-iso8859-1 "European/lt1-16-etl.bdf" 1)  ; ISO8859-1
  (latin-iso8859-2 "European/lt2-16-etl.bdf" 1)  ; ISO8859-2
  (latin-iso8859-3 "European/lt3-16-etl.bdf" 1)  ; ISO8859-3
  (latin-iso8859-4 "European/lt4-16-etl.bdf" 1)  ; ISO8859-4
  (cyrillic-iso8859-5 "European/cyr16-etl.bdf" 1) ; ISO8859-5
  (arabic-iso8859-6 "Misc/arab16-0-etl.bdf" 0)  ; ISO8859-6 ???
  (greek-iso8859-7 "European/grk16-etl.bdf" 1)  ; ISO8859-7
  (hebrew-iso8859-8 "Misc/heb16-etl.bdf" 1)    ; ISO8859-8
  (latin-iso8859-9 "European/lt5-16-etl.bdf" 1)  ; ISO8859-9
  (thai-tis620 "Asian/thai16.bdf" 1)       ; TIS620
  (katakana-jisx0201 "japanese.X/8x16rk.bdf" 1)  ; JISX0201
  (latin-jisx0201 "japanese.X/8x16rk.bdf" 0)   ; JISX0201
  (japanese-jisx0212 "japanese/jksp16.bdf" 0)   ; JISX0212
  (japanese-jisx0208-1978 "japanese/j78-16.bdf" 0); JISX0208.1978
  (japanese-jisx0208 "japanese.X/jiskan16.bdf" 0) ; JISX0208.1983
;  (japanese-jisx0213-1 "Japanese.X/jiskan16-2000-1.bdf" 0)  ; JISX0213-2000(Plane 1) * Mule-UCS が必要です
;  (japanese-jisx0213-2 "Japanese.X/jiskan16-2000-2.bdf" 0)  ; JISX0213-2000(Plane 2) * Mule-UCS が必要です
  (korean-ksc5601 "Korean.X/hanglm16.bdf" 0)   ; KSC5601  mincho
;;  (korean-ksc5601 "Korean.X/hanglg16.bdf" 0)  ; KSC5601  gothic
  (chinese-gb2312 "Chinese.X/gb16fs.bdf" 0 )   ; GB2312 ???
  (chinese-cns11643-1 "Chinese/cns1-16.bdf" 0)  ; CNS11643.1992-1
  (chinese-cns11643-2 "Chinese/cns2-16.bdf" 0)  ; CNS11643.1992-2
  (chinese-cns11643-3 "Chinese/cns3-16.bdf" 0)  ; CNS11643.1992-3
  (chinese-cns11643-4 "Chinese/cns4-16.bdf" 0)  ; CNS11643.1992-4
  (chinese-cns11643-5 "Chinese/cns5-16.bdf" 0)  ; CNS11643.1992-5
  (chinese-cns11643-6 "Chinese/cns6-16.bdf" 0)  ; CNS11643.1992-6
  (chinese-cns11643-7 "Chinese/cns7-16.bdf" 0)  ; CNS11643.1992-7
  (chinese-big5-1 "Chinese/taipei16.bdf" encode-big5-font) ; Big5
  (chinese-big5-2 "Chinese/taipei16.bdf" encode-big5-font) ; Big5
  (chinese-sisheng "Chinese/sish16-etl.bdf" 0)  ; sisheng_cwnn ???
  (vietnamese-viscii-lower "Asian/visc16-etl.bdf" encode-viscii-font) ; VISCII1.1
  (vietnamese-viscii-upper "Asian/visc16-etl.bdf" encode-viscii-font) ; VISCII1.1
(arabic-digit "Misc/arab16-0-etl.bdf" 0)    ; MuleArabic-0
  (arabic-1-column "Misc/arab16-1-etl.bdf" 0)   ; MuleArabic-1
  (arabic-2-column "Misc/arab16-2-etl.bdf" 0)   ; MuleArabic-2
  (ipa "Misc/ipa16-etl.bdf" 1)          ; MuleIPA
  (ethiopic "Ethiopic/ethio16f-uni.bdf" encode-ethio-font) ; Ethiopic-Unicode
;;  (ascii-right-to-left "European/lt1-16-etl.bdf" 0) ; ISO8859-1 ;; ???
  (indian-is13194 "Asian/isci16-mule.bdf" 0)   ; IS13194-Devanagari
  (indian-2-column "Asian/ind16-mule.bdf" 0)   ; MuleIndian-2
  (indian-1-column "Asian/ind1c16-mule.bdf" 0)  ; MuleIndian-1
  (lao "Asian/lao16-mule.bdf" 1)         ; MuleLao-1
  (tibetan "Asian/tib16-mule.bdf" 0)       ; MuleTibetan-0
  (tibetan-1-column "Asian/tib1c16-mule.bdf" 0)  ; MuleTibetan-1
  ))

(defun w32-configure-bdf-font (fontset)
 (new-fontset fontset
    (mapcar
(lambda (x)
 (let* ((charset (car x))
(filename (nth 1 x))
(encoding (nth 2 x))
(fontname
 (concat bdf-font-name-prefix
 (symbol-name charset))))
  (w32-auto-regist-bdf-font
   fontname
   (expand-file-name filename bdf-font-directory)
   encoding)
  (cons charset fontname)))
bdf-font-file-alist)))

(w32-configure-bdf-font "bdf-fontset")
;; bold, italic, bold itaric を追加。
;; Bold
(w32-change-font-logfont "bdffont16-ascii" 1
  (list 'bdf-font (expand-file-name "European/lt1-16b-etl.bdf" bdf-font-directory )))
;; italic
(w32-change-font-logfont "bdffont16-ascii" 2
  (list 'bdf-font (expand-file-name "European/lt1-16i-etl.bdf" bdf-font-directory )))
;; Bold itaric
(w32-change-font-logfont "bdffont16-ascii" 3
  (list 'bdf-font (expand-file-name "European/lt1-16bi-etl.bdf" bdf-font-directory )))

これだけ.emacsで読み込んでも、たいして遅くない。まあ、秀丸(やxyzzy)なんか
と比べりゃ3,4倍かかるが、wordなんかと比べりゃ、1/3か1/4だな。
これで、38ヶ国語(中国語は4つと数えて)が同時表示できる。
秀丸やxyzzyなんかは、どうせできやしまいに。