emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fontset/font change


From: Jason Rumney
Subject: Re: fontset/font change
Date: Thu, 12 Mar 2009 21:19:21 +0800
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)

Kenichi Handa wrote:
  ;; Enable Japanese fonts on Windows to be used by default.
  (set-fontset-font t (make-char 'katakana-jisx0201)
            '("*" . "JISX0208-SJIS"))
  (set-fontset-font t (make-char 'latin-jisx0201)
            '("*" . "JISX0208-SJIS"))
  (set-fontset-font t (make-char 'japanese-jisx0208)
            '("*" . "JISX0208-SJIS"))
  (set-fontset-font t (make-char 'japanese-jisx0208-1978)
            '("*" . "JISX0208-SJIS"))

In pre-unicode Emacs, make-char returned generic characters
in the above calls.  But, as a concept of generic character
is deleted in Emacs 23, the above setting anyway doesn't
work now.

Note that U+203E is the only non_ASCII character in
latin-jisx0201.

I didn't know about that one (is it intended to be a combining macron?), but isn't ¥ also in latin-jisx0201 (at code point 92)?


But, why do we have that kind of setting in term/w32-win.el
only for Japanese?

Because only Japanese uses SJIS on Windows.

What does the registry "JISX0208-SJIS" exactly mean?

A JISX0208 font that is available in SJIS encoding. Is there a more standard way of writing that?

  Why doesn't the default setting work?

It seems it does now. I have removed those lines from w32-win.el.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]