emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

chinese font setup problem


From: William Xu
Subject: chinese font setup problem
Date: Wed, 20 Feb 2008 16:56:47 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (darwin)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]