* Re: Emacs 23 can not display some characters
2007-08-24 7:43 Emacs 23 can not display some characters Zhan
@ 2007-08-26 0:02 ` anhnmncb
0 siblings, 0 replies; 2+ messages in thread
From: anhnmncb @ 2007-08-26 0:02 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1.1: Type: text/plain, Size: 3046 bytes --]
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
[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]
[-- Attachment #2: Type: text/plain, Size: 152 bytes --]
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
^ permalink raw reply [flat|nested] 2+ messages in thread