all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* big5 only on emacs-nox for Fedora core 6
@ 2007-03-03  7:27 weihan
  2007-03-03 10:04 ` David Hansen
       [not found] ` <mailman.369.1172916535.7795.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 11+ messages in thread
From: weihan @ 2007-03-03  7:27 UTC (permalink / raw)
  To: help-gnu-emacs

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 ?

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

* Re: big5 only on emacs-nox for Fedora core 6
  2007-03-03  7:27 big5 only on emacs-nox for Fedora core 6 weihan
@ 2007-03-03 10:04 ` David Hansen
       [not found] ` <mailman.369.1172916535.7795.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 11+ messages in thread
From: David Hansen @ 2007-03-03 10:04 UTC (permalink / raw)
  To: help-gnu-emacs

On 2 Mar 2007 23:27:11 -0800 "weihan" <weihan@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

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

* Re: big5 only on emacs-nox for Fedora core 6
       [not found] ` <mailman.369.1172916535.7795.help-gnu-emacs@gnu.org>
@ 2007-03-05  1:32   ` weihan
  2007-03-05  2:31     ` David Hansen
       [not found]     ` <mailman.440.1173062415.7795.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 11+ messages in thread
From: weihan @ 2007-03-05  1:32 UTC (permalink / raw)
  To: help-gnu-emacs

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 try to set in .emacs by adding

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

* Re: big5 only on emacs-nox for Fedora core 6
  2007-03-05  1:32   ` weihan
@ 2007-03-05  2:31     ` David Hansen
       [not found]     ` <mailman.440.1173062415.7795.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 11+ messages in thread
From: David Hansen @ 2007-03-05  2:31 UTC (permalink / raw)
  To: help-gnu-emacs

On 4 Mar 2007 17:32:06 -0800 "weihan" <weihan@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

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

* Re: big5 only on emacs-nox for Fedora core 6
       [not found]     ` <mailman.440.1173062415.7795.help-gnu-emacs@gnu.org>
@ 2007-03-05  8:58       ` weihan
  2007-03-05 10:30         ` David Hansen
       [not found]         ` <mailman.448.1173091157.7795.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 11+ messages in thread
From: weihan @ 2007-03-05  8:58 UTC (permalink / raw)
  To: help-gnu-emacs

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

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

* Re: big5 only on emacs-nox for Fedora core 6
  2007-03-05  8:58       ` weihan
@ 2007-03-05 10:30         ` David Hansen
       [not found]         ` <mailman.448.1173091157.7795.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 11+ messages in thread
From: David Hansen @ 2007-03-05 10:30 UTC (permalink / raw)
  To: help-gnu-emacs

On 5 Mar 2007 00:58:50 -0800 "weihan" <weihan@math.ncu.edu.tw> 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

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

* Re: big5 only on emacs-nox for Fedora core 6
       [not found]         ` <mailman.448.1173091157.7795.help-gnu-emacs@gnu.org>
@ 2007-03-06  6:52           ` weihan
  2007-03-06  8:30             ` David Hansen
       [not found]             ` <mailman.506.1173170335.7795.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 11+ messages in thread
From: weihan @ 2007-03-06  6:52 UTC (permalink / raw)
  To: help-gnu-emacs

On 3月5日, 下午6時30分, David Hansen <david.han...@gmx.net> wrote:
> On 5 Mar 2007 00:58:50 -0800 "weihan" <wei...@math.ncu.edu.tw> 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

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

* Re: big5 only on emacs-nox for Fedora core 6
  2007-03-06  6:52           ` weihan
@ 2007-03-06  8:30             ` David Hansen
       [not found]             ` <mailman.506.1173170335.7795.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 11+ messages in thread
From: David Hansen @ 2007-03-06  8:30 UTC (permalink / raw)
  To: help-gnu-emacs

On 5 Mar 2007 22:52:16 -0800 "weihan" <weihan@math.ncu.edu.tw> wrote:

> 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

I think these don't have the right encoding.  My Emacs chooses a
font with the encoding "Big5-0".

I think there are tools out there to create fonts of one encoding
from font fonts of another encoding (as long as the intersection of
common characters is big enough that it makes sense).  But i can't
help on this topic.

On Debian there are various xfonts-intl-* packages.  They don't look
that nice but AFAIK they cover most scripts.

Also you may find this page interesting:

http://www.emacswiki.org/cgi-bin/wiki/InternationalFonts

> 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

Try this: Start xfontselect and set "rgstry" to big5, now pick any
of the not grayed out fonts.  Also i think you can drop the "ascii"
part (Emacs should pick the default font for ASCII):

Alternatively (an ugly workaround) you can start emacs within a
Unicode enabled XTerm:  xterm -u8 with the font you have choosen
(the iso10646-1 one).  Though i don't know how good the support for
asian scripts is (there are other terminal emulators that may be
better, e.g. rxvt-unicode or mlterm).

David

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

* Re: big5 only on emacs-nox for Fedora core 6
       [not found]             ` <mailman.506.1173170335.7795.help-gnu-emacs@gnu.org>
@ 2007-03-06  9:53               ` weihan
  2007-03-06 11:13                 ` Peter Dyballa
  2007-03-23  5:25               ` weihan
  1 sibling, 1 reply; 11+ messages in thread
From: weihan @ 2007-03-06  9:53 UTC (permalink / raw)
  To: help-gnu-emacs

On 3月6日, 下午4時30分, David Hansen <david.han...@gmx.net> wrote:
> On 5 Mar 2007 22:52:16 -0800 "weihan" <wei...@math.ncu.edu.tw> wrote:
>
>
>
> > 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
>
> I think these don't have the right encoding.  My Emacs chooses a
> font with the encoding "Big5-0".
>
> I think there are tools out there to create fonts of one encoding
> from font fonts of another encoding (as long as the intersection of
> common characters is big enough that it makes sense).  But i can't
> help on this topic.
>
> On Debian there are various xfonts-intl-* packages.  They don't look
> that nice but AFAIK they cover most scripts.
>
> Also you may find this page interesting:
>
> http://www.emacswiki.org/cgi-bin/wiki/InternationalFonts
>
> > 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
>
> Try this: Start xfontselect and set "rgstry" to big5, now pick any
> of the not grayed out fonts.  Also i think you can drop the "ascii"
> part (Emacs should pick the default font for ASCII):
>
> Alternatively (an ugly workaround) you can start emacs within a
> Unicode enabled XTerm:  xterm -u8 with the font you have choosen
> (the iso10646-1 one).  Though i don't know how good the support for
> asian scripts is (there are other terminal emulators that may be
> better, e.g. rxvt-unicode or mlterm).
>
> David

I do not have any font with rgstry as big5 on my Fedora core 6
during installation. I try to ftp some big5 fonts from my old
red hat system and use (1) fc-cache (2)  /etc/init.d/xfs reload
to reload the fonts but still do not see big5 rgstry on xfontsel
program. It seems a long way to go :-(

weihan

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

* Re: big5 only on emacs-nox for Fedora core 6
  2007-03-06  9:53               ` weihan
@ 2007-03-06 11:13                 ` Peter Dyballa
  0 siblings, 0 replies; 11+ messages in thread
From: Peter Dyballa @ 2007-03-06 11:13 UTC (permalink / raw)
  To: weihan; +Cc: help-gnu-emacs


Am 06.03.2007 um 10:53 schrieb weihan:

> I do not have any font with rgstry as big5 on my Fedora core 6
> during installation. I try to ftp some big5 fonts from my old
> red hat system and use (1) fc-cache (2)  /etc/init.d/xfs reload
> to reload the fonts but still do not see big5 rgstry on xfontsel
> program. It seems a long way to go :-(

I think you also need to 'xset fp rehash' ...


I use -Misc-Fixed-Medium-R-Normal--14-130-75-75-C-140-JISX0208.1983-0  
to display the Chinese ideographs in your eMails ... I also have some  
other JISX encoded fonts – on Mac OS X.

--
Greetings

   Pete

There are two major products that come out of Berkeley: LSD and UNIX.  
We don't believe this to be a coincidence.
                                          - Jeremy S. Anderson

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

* Re: big5 only on emacs-nox for Fedora core 6
       [not found]             ` <mailman.506.1173170335.7795.help-gnu-emacs@gnu.org>
  2007-03-06  9:53               ` weihan
@ 2007-03-23  5:25               ` weihan
  1 sibling, 0 replies; 11+ messages in thread
From: weihan @ 2007-03-23  5:25 UTC (permalink / raw)
  To: help-gnu-emacs

On 3月6日, 下午4時30分, David Hansen <david.han...@gmx.net> wrote:
> On 5 Mar 2007 22:52:16 -0800 "weihan" <wei...@math.ncu.edu.tw> wrote:
>
>
>
> > 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
>
> I think these don't have the right encoding.  My Emacs chooses a
> font with the encoding "Big5-0".
>
> I think there are tools out there to create fonts of one encoding
> from font fonts of another encoding (as long as the intersection of
> common characters is big enough that it makes sense).  But i can't
> help on this topic.
>
> On Debian there are various xfonts-intl-* packages.  They don't look
> that nice but AFAIK they cover most scripts.
>
> Also you may find this page interesting:
>
> http://www.emacswiki.org/cgi-bin/wiki/InternationalFonts
>
> > 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
>
> Try this: Start xfontselect and set "rgstry" to big5, now pick any
> of the not grayed out fonts.  Also i think you can drop the "ascii"
> part (Emacs should pick the default font for ASCII):
>
> Alternatively (an ugly workaround) you can start emacs within a
> Unicode enabled XTerm:  xterm -u8 with the font you have choosen
> (the iso10646-1 one).  Though i don't know how good the support for
> asian scripts is (there are other terminal emulators that may be
> better, e.g. rxvt-unicode or mlterm).
>
> David

You are right. After I install the fonts with big5 "rgstry" , the
emacs works.
However, it really surprises me why the FC6 does not pre-install the
fonts.
Thank you for your advice.

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

end of thread, other threads:[~2007-03-23  5:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-03  7:27 big5 only on emacs-nox for Fedora core 6 weihan
2007-03-03 10:04 ` David Hansen
     [not found] ` <mailman.369.1172916535.7795.help-gnu-emacs@gnu.org>
2007-03-05  1:32   ` weihan
2007-03-05  2:31     ` David Hansen
     [not found]     ` <mailman.440.1173062415.7795.help-gnu-emacs@gnu.org>
2007-03-05  8:58       ` weihan
2007-03-05 10:30         ` David Hansen
     [not found]         ` <mailman.448.1173091157.7795.help-gnu-emacs@gnu.org>
2007-03-06  6:52           ` weihan
2007-03-06  8:30             ` David Hansen
     [not found]             ` <mailman.506.1173170335.7795.help-gnu-emacs@gnu.org>
2007-03-06  9:53               ` weihan
2007-03-06 11:13                 ` Peter Dyballa
2007-03-23  5:25               ` weihan

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.