all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* chinese font setup problem
@ 2008-02-20  7:56 William Xu
  2008-02-20 10:45 ` Zhang Wei
  0 siblings, 1 reply; 9+ messages in thread
From: William Xu @ 2008-02-20  7:56 UTC (permalink / raw)
  To: emacs-devel

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





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-02-22  6:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-20  7:56 chinese font setup problem William Xu
2008-02-20 10:45 ` 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

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.