help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: big5 only on emacs-nox for Fedora core 6


From: weihan
Subject: Re: big5 only on emacs-nox for Fedora core 6
Date: 5 Mar 2007 22:52:16 -0800
User-agent: G2/1.0

On 3月5日, 下午6時30分, David Hansen <address@hidden> wrote:
> On 5 Mar 2007 00:58:50 -0800 "weihan" <address@hidden> wrote:
>
> > When I type C-u x = with cursor on the box and proper .Xresources as
> > you suggest
> >  the emacs responses xxxx=. There is no category of the character. Any
> > idea ?
>
> What do you mean with "the emacs responses xxxx=."?  BTW, which
> emacs version are you using?  (C-u M-x emacs-version)
>
> When i save a message from you and visit it in GNU Emacs 21.4 with
>
> C-x RET c emacs-mule RET C-x C-f
>
> and do C-u C-x = on one of the Chinese characters i get
>
>   character: 日 (0451713, 152523, 0x253cb)
>     charset: chinese-big5-1
>              (Frequently used part (A141-C67F) of Big5 (Chinese traditional))
>  code point: 39 75
>      syntax: 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: 0x98 0xA7 0xCB
>   file code: 0x98 0xA7 0xCB (encoded by coding system emacs-mule-unix)
>        font: -ETen-Fixed-Medium-R-Normal--16-150-75-75-C-160-Big5.ETen-0
>
> So i think you should add an entry for "chinese-big5-1" in your
> fontset.  Make sure the font exists and has the right encoding (in
> this case Big5.ETen-0).  The program xfontsel can help to pick a
> good font.
>
> David

Dear David:
 Thank you for your help. My emacs on Fedora core 6 is 21.4.1.
After I type the C-u C-x = on the Box as your suggest, here is
the message shown by emacs

  character: §U (0453075, 153149, 0x2563d)
    charset: chinese-big5-1 (Frequently used part (A141-C67F) of Big5
(Chinese traditional))
 code point: 44 61
     syntax: 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: 0x98 0xAC 0xBD
  file code: 0xA7 0xDA (encoded by coding system chinese-big5)
       font: -- none --

Obviously, the emacs does not load the font properly. The font which I
want to use
are one of the following two :

-arphic technology co.-ar pl mingti2l big5-medium-r-normal--0-0-0-0-
c-0-ascii-0
-arphic technology co.-ar pl mingti2l big5-medium-r-normal--0-0-0-0-
c-0-iso10646-1

The .Xresources I set up is :

Emacs.Font:    fontset-18
Emacs.Fontset-0:   -*-*-medium-r-normal-*-18-*-*-*-*-*-fontset-18,\
ascii:-*-lucidatypewriter-medium-r-normal-*-*-100-*-*-m-*-iso8859-1,\
chinese-big5-1:-*-ar pl mingti2l big5-medium-r-normal-*-*-0-*-*-c-*-
ascii-0,\
chinese-big5-2:-*-ar pl mingti2l big5-medium-r-normal-*-*-0-*-*-c-*-
ascii-0

which must be wrong. However, I have no idea how to modify. Any
suggestion will
be appreciated.  Thank you again.

weihan




reply via email to

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