emacs-devel
[Top][All Lists]
Advanced

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

Ntemacs chooses wrong font.


From: Kevin Yu
Subject: Ntemacs chooses wrong font.
Date: Fri, 6 Jun 2008 20:52:04 +0800

If you input any Chinese into a new buffer, Ntemacs will use the same font as ASCII characters (iso8859-1). Of course that font is not suitable for Chinese, so I get only white spaces on the window. describe-char shows that emacs has detected that it's a Chinese character, but chosen a wrong font(wrong charset):
      character: 实 (23454, #o55636, #x5b9e)
preferred charset: gb18030 (GB18030)
       code point: 0xCAB5
           syntax: w     which means: word
         category: C:Chinese (Han) characters of 2-byte character sets c:Chinese
           |:While filling, we can break a line at this character.
      buffer code: #xE5 #xAE #x9E
        file code: #xCA #xB5 (encoded by coding system chinese-gb18030-unix)
          display: by this font (glyph code)
     -outline-Monaco-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1 (#x03)
if I open a existed file with Chinese characters, everything goes well.

Best wishes.
                                                                                     Kevin

reply via email to

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