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 00:58:50 -0800
User-agent: G2/1.0

On 3月5日, 上午10時31分, David Hansen <david.han...@gmx.net> wrote:
> On 4 Mar 2007 17:32:06 -0800 "weihan" <wei...@math.ncu.edu.tw> wrote:
>
>
>
>
>
>
>
> > On 3月3日, 下午6時04分, David Hansen <david.han...@gmx.net> wrote:
> >> On 2 Mar 2007 23:27:11 -0800 "weihan" <wei...@math.ncu.edu.tw> wrote:
>
> >> > Recently, I just upgrade my system to Fedora core 6. I found that
> >> > in the new OS, the Chinese big5 font can not be shown correctly on
> >> > emacs.
> >> > However, it can be shown on emacs-nox. Is there anything I can change
> >> > to
> >> > make the emacs work for X-window version ?
>
> >> You can try to set the font for this encoding via fontsets in your
> >> ~/.Xresources.
>
> >> David
>
> > Hi, I try to add the following line on .emacs
>
> > (set-default-font
> > "-arphic technology co.-ar pl mingti2l big5-medium-r-normal--0-0-0-0-
> > c-0-iso10646-1")
>
> > the font comes exactly from xlsfonts command, but the emacs keep say
> > the font does not exist !
>
> > Anything wrong.
>
> I'm not sure if whats wrong with it but you probably don't want to
> set the "default font".  Emacs chooses different fonts for different
> encodings with some heuristics that usually work pretty well.  I
> suspect in your case emacs tries to find a latin version of your font
> and fails (I might be wrong though).
>
> An IMHO good method to solve your problem is to first choose your
> favorite fixed font for ASCII chars and add
>
> Emacs*fontset-0: -*-neep alt-medium-*-*-*-13-*-*-*-*-*-fontset-name
>
> Emacs*font: fontset-name
>
> to your Xresources file (and xrdb -merge it and restart Emacs).  Now
> if you see some non ASCII characters that look ugly or are shown as
> boxes move the cursor over it and hit C-u x =.  Emacs will tell you
> the category of the character.  Now you extend you fontset
> definition (make sure the font is available in the encoding that
> emacs has chosen).  I ended up with:
>
> Emacs*fontset-0: -*-neep alt-medium-*-*-*-13-*-*-*-*-*-fontset-small,\
> mule-unicode-2500-33ff: 
> -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1,\
> mule-unicode-e000-ffff: 
> -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1,\
> mule-unicode-0100-24ff: 
> -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
>
> xrdb -merge again and restart emacs.  Note that you can specify
> fontsets via elisp too.  Might save some restarting but I don't know
> how it works.
>
> David


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 ?

weihan



reply via email to

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