unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Hansen <david.hansen@gmx.net>
To: help-gnu-emacs@gnu.org
Subject: Re: big5 only on emacs-nox for Fedora core 6
Date: Tue, 06 Mar 2007 09:30:00 +0100	[thread overview]
Message-ID: <87veheojuf.fsf@localhorst.mine.nu> (raw)
In-Reply-To: 1173163936.535571.182480@n33g2000cwc.googlegroups.com

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

  reply	other threads:[~2007-03-06  8:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
     [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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87veheojuf.fsf@localhorst.mine.nu \
    --to=david.hansen@gmx.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).