emacs-devel
[Top][All Lists]
Advanced

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

NTemacs chooses the same font for all Glyphs


From: Kevin Yu
Subject: NTemacs chooses the same font for all Glyphs
Date: Fri, 30 May 2008 09:52:40 +0800

Hi, Here's the settings about font
======
(set-language-environment "chinese-gb18030")
(set-default-font "Monaco-10")
(set-fontset-font (frame-parameter nil 'font)
            'han '("Microsoft Yahei" . "unicode-bmp"))
(set-fontset-font (frame-parameter nil 'font)
           'symbol '("Microsoft Yahei" . "unicode-bmp"))
(set-fontset-font (frame-parameter nil 'font)
            'cjk-misc '("Microsoft Yahei" . "unicode-bmp"))
(set-fontset-font (frame-parameter nil 'font)
           'bopomofo '("Microsoft Yahei" . "unicode-bmp"))
=======

But emacs tries to use Monaco for all Glyphs, all Chinese characters are showed as blank space.

the output of describe-char:

English:
        character: e (101, #o145, #x65)
preferred charset: ascii (ASCII (ISO646 IRV))
       code point: 0x65
           syntax: w     which means: word
         category: a:ASCII graphic characters 32-126 (ISO646 IRV:1983[4/0]) l:Latin r:Japanese roman
      buffer code: #x65
        file code: #x65 (encoded by coding system undecided-dos)
          display: by this font (glyph code)
     -outline-Monaco-normal-normal-normal-mono-13-*-*-*-c-*-iso10646-1 (#x48)

Chinese:
        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-*-iso10646-1 (#x03)

reply via email to

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