unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Ntemacs chooses wrong font.
@ 2008-06-06 12:52 Kevin Yu
  2008-06-06 21:23 ` Jason Rumney
  2008-06-16 21:37 ` Jason Rumney
  0 siblings, 2 replies; 16+ messages in thread
From: Kevin Yu @ 2008-06-06 12:52 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 939 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1821 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2008-06-16 21:37 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-06 12:52 Ntemacs chooses wrong font Kevin Yu
2008-06-06 21:23 ` Jason Rumney
2008-06-07  2:41   ` Kevin Yu
2008-06-11  2:32     ` Kevin Yu
2008-06-11  8:36     ` Jason Rumney
2008-06-11 10:51       ` Kevin Yu
2008-06-11 11:27         ` Jason Rumney
2008-06-11 12:05           ` Kevin Yu
2008-06-11 12:40             ` Jason Rumney
2008-06-11 11:50         ` Kenichi Handa
2008-06-11 12:09           ` Kevin Yu
2008-06-11 12:29             ` Kenichi Handa
2008-06-11 12:34           ` Jason Rumney
2008-06-11 13:11             ` Kenichi Handa
2008-06-11 13:48             ` Juanma Barranquero
2008-06-16 21:37 ` Jason Rumney

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).