On Thu, 05/10/06 13:25 +0100, Kenichi Handa wrote:

> In article <[EMAIL PROTECTED]>, Leo <[EMAIL PROTECTED]> writes:
>
>> > (set-fontset-font (frame-parameter nil 'font)
>> >   'han '("NSimSun" . "unicode-bmp"))
>> >
>> > Does it change Emacs to use NSimSun for Chinese?
>> >
>
>> Yes, it does.
>
> Hmmm, then at least font-backend is functioning.  How did
> you know that some Chinese are displayed by X font?
> Please check exactly which font is used for Chinese by C-u
> C-x = (without the above settting).
>

Start emacs with "emacs --enable-font-backend -fn mono".

,----[ C-u C-x = ]
|         character: 字 (23383, #o55527, #x5b57)
| preferred charset: chinese-gb2312 (GB2312 Chinese simplified: ISO-IR-58)
|        code point: 0x5756
|            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 #xAD #x97
|         file code: #xE5 #xAD #x97 (encoded by coding system utf-8-unix)
|           display: by this font (glyph code)
|      -ISAS-Song ti-Medium-R-Normal--16-160-72-72-c-160-GB2312.1980-0 (#x5756)
| 
| Character code properties are not shown: customize what to show
| 
| There are text properties here:
|   auto-composed        t
|   fontified            t
`----

-- 
Leo



_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to