* Emacs 23 can not display some characters
@ 2007-08-24 7:43 Zhan
2007-08-26 0:02 ` anhnmncb
0 siblings, 1 reply; 2+ messages in thread
From: Zhan @ 2007-08-24 7:43 UTC (permalink / raw)
To: help-gnu-emacs
I'm using emacs 23 ,the unicode branch 2. But i found that it could not display
some characters such as "\vdash" (using TeX-input-method) in my .muse source
file by emacs, but when I
publish the very .muse file into .html。It did display in the firefox browser。
There is my configuration about the fonts:
(set-default-font "DejaVu Sans Mono-12")
(set-fontset-font (frame-parameter nil 'font)
'han '("AR PL ShanHeiSun Uni" . "unicode-bmp"))
(set-fontset-font (frame-parameter nil 'font)
'unicode '("DejaVu Sans Mono" . "unicode-bmp") 'nil 'append)
btw. I'm using kubuntu 7.10 alpha.
^ permalink raw reply [flat|nested] 2+ messages in thread
* 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
end of thread, other threads:[~2007-08-26 0:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-24 7:43 Emacs 23 can not display some characters Zhan
2007-08-26 0:02 ` anhnmncb
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).