[Top][All Lists]

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

Re: X fonts selection weirdness

From: Yoshiaki Kasahara
Subject: Re: X fonts selection weirdness
Date: Tue, 24 Jun 2008 18:08:02 +0900 (JST)

On Tue, 24 Jun 2008 16:02:05 +0900,
        Kenichi Handa <address@hidden> said:

> Thank you.  I've just installed a fix to pay attention to
> DPI on font sorting.  Please try with the latest code again.

Thank you very much.  It worked for '-fn' option.  It seems that
create-fontset-from-ascii-font still ignores specified DPI, though...

        "-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1" nil 


By the way, I have one more unsolved question... Is this a correct way
to specify Japanese kanji characters to use Japanese kanji fonts?
(after emacs -fn '-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1')

(set-fontset-font "fontset-startup"
                  '("misc-fixed" . "jisx0208.1983"))

Without explicit set-fontset-font, some symbol characters are
displayed using iso10646 font instead of jisx0208 font, such as

After set-fontset-font, almost all characters are displayed by desired
fonts, but still there are a few exceptions.  For example, '×' is
shown as a half-width character.  C-u C-x = shows:

        character: × (215, #o327, #xd7)
preferred charset: japanese-jisx0208
                   (JISX0208.1983/1990 Japanese Kanji: ISO-IR-87)
       code point: 0x215F
           syntax: _    which means: symbol
         category: c:Chinese h:Korean j:Japanese l:Latin
      buffer code: #xC3 #x97
        file code: ESC #x24 #x42 #x21 #x5F
                   (encoded by coding system iso-2022-7bit)
          display: by this font (glyph code)
     -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1 (#xD7)

I wonder why iso8859 font is selected when the preferred charset is
japanese-jisx0208.  Maybe I overlooked something.... can I specify a
charset preference for font selection?

Yoshiaki Kasahara
Research Institute for Information Technology, Kyushu University

reply via email to

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