From: William Xu <william.xwl@gmail.com>
To: emacs-devel@gnu.org
Subject: chinese font setup problem
Date: Wed, 20 Feb 2008 16:56:47 +0900 [thread overview]
Message-ID: <m2ejb812o0.fsf@gmail.com> (raw)
I try to setup chinese fonts display. Start emacs23 with `-Q', all
chinese fonts are displayed hollow boxes:
,----[ C-u C-x = ]
| character: 华 (21326, #o51516, #x534e)
| preferred charset: chinese-gbk (GBK Chinese simplified.)
| code point: 0xBBAA
| 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 #x8D #x8E
| file code: #xE5 #x8D #x8E (encoded by coding system utf-8-unix)
| display: by this font (glyph code)
| -wenquanyi-wenquanyi bitmap song-medium-r-normal--17-123-100-100-p-160-iso10646-1 (#xBBAA)
|
| Character code properties are not shown: customize what to show
|
| There are text properties here:
| auto-composed t
| fontified t
|
| [back]
`----
Compared with emacs22, also with `-Q', chinese fonts are displayed
correctly, for example:
,----
| character: 华 (40362, #o116652, #x9daa, U+534E)
| charset: chinese-gb2312 (GB2312 Chinese simplified: ISO-IR-58.)
| code point: #x3B #x2A
| 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: #x91 #xBB #xAA
| file code: #xE5 #x8D #x8E (encoded by coding system mule-utf-8)
| display: by this font (glyph code)
| -arphic-ar pl sungtil gb-medium-r-normal--18-180-72-72-c-179-gb2312.1980-0 (#x3B2A)
|
| There are text properties here:
| fontified t
|
| [back]
`----
In emacs23, using `M-x set-default-font', I have tried various chinese
fonts, but it could never display chinese fonts correctly. Any ideas?
,----[ M-x emacs-version ]
| GNU Emacs 23.0.60.4 (i686-pc-linux-gnu) of 2008-02-19 on debian
`----
--
William
http://williamxu.net9.org
next reply other threads:[~2008-02-20 7:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-20 7:56 William Xu [this message]
2008-02-20 10:45 ` chinese font setup problem Zhang Wei
2008-02-20 11:10 ` William Xu
2008-02-21 2:59 ` Zhang Wei
2008-02-21 4:00 ` William Xu
2008-02-21 11:07 ` Zhang Wei
2008-02-21 11:47 ` William Xu
2008-02-21 14:32 ` Zhang Wei
2008-02-22 6:55 ` William Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2ejb812o0.fsf@gmail.com \
--to=william.xwl@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.