* NTemacs chooses the same font for all Glyphs
@ 2008-05-30 1:52 Kevin Yu
0 siblings, 0 replies; only message in thread
From: Kevin Yu @ 2008-05-30 1:52 UTC (permalink / raw)
To: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 1678 bytes --]
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)
[-- Attachment #2: Type: text/html, Size: 2704 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-30 1:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-30 1:52 NTemacs chooses the same font for all Glyphs Kevin Yu
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.