[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs 23 can not display some characters
From: |
anhnmncb |
Subject: |
Re: Emacs 23 can not display some characters |
Date: |
Sun, 26 Aug 2007 08:02:28 +0800 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux) |
yes, I have some problem similar with you:
-------
character: ǒ (466, #o722, #x1d2)
preferred charset: chinese-gb2312 (GB2312 Chinese simplified: ISO-IR-58)
code point: 0x282F
syntax: w which means: word
category: c:Chinese j:Japanese l:Latin
buffer code: #xC7 #x92
file code: #xC7 #x92 (encoded by coding system utf-8-emacs)
display: by this font (glyph code)
-microsoft-microsoft
yahei-medium-r-normal--14-135-75-75-p-138-gb2312.1980-0 (#x282F)
Character code properties are not shown: customize what to show
There are text properties here:
auto-composed t
fontified t
rear-nonsticky t
---------
character: 基 (22522, #o53772, #x57fa)
preferred charset: chinese-gb2312 (GB2312 Chinese simplified: ISO-IR-58)
code point: 0x3B79
syntax: w which means: word
category: C:Chinese (Han) characters of 2-byte character sets
c:Chinese h:Korean j:Japanese
|:While filling, we can break a line at this character.
buffer code: #xE5 #x9F #xBA
file code: #xE5 #x9F #xBA (encoded by coding system utf-8-emacs)
display: by this font (glyph code)
microsoft
yahei:pixelsize=14:foundry=microsoft:weight=medium:slant=r:width=normal (#x5C2)
Character code properties are not shown: customize what to show
There are text properties here:
auto-composed t
fontified t
rear-nonsticky t
----------
character: 基 (22522, #o53772, #x57fa)
preferred charset: chinese-gb2312 (GB2312 Chinese simplified: ISO-IR-58)
code point: 0x3B79
syntax: w which means: word
category: C:Chinese (Han) characters of 2-byte character sets
c:Chinese h:Korean j:Japanese
|:While filling, we can break a line at this character.
buffer code: #xE5 #x9F #xBA
file code: #xE5 #x9F #xBA (encoded by coding system utf-8-emacs)
display: by this font (glyph code)
microsoft
yahei:pixelsize=14:foundry=microsoft:weight=medium:slant=r:width=normal (#x5C2)
Character code properties are not shown: customize what to show
There are text properties here:
auto-composed t
fontified t
rear-nonsticky t
-------------
As you see, the same charset gb2312, emacs uses different fonts. First
one use a traditional x font, but others use xft font.
What I want is all fonts emacs uses are xft fonts, I don't know how to
do that though...
The following is my font setting:
(set-default-font "consolas-12")
(set-fontset-font (frame-parameter nil 'font)
'han '("Microsoft YaHei" . "unicode-bmp"))
(set-fontset-font (frame-parameter nil 'font)
'cjk-misc '("Microsoft YaHei" . "unicode-bmp"))
(set-fontset-font "fontset-default"
'kana '("Meiryo" . "unicode-bmp"))
(setq default-frame-alist
(append
'((font . "consolas-12"))
default-frame-alist))
--
Regards,
anhnmncb
gpg key: 44A31344
pgprpNo8ISaMo.pgp
Description: PGP signature