From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Hansen Newsgroups: gmane.emacs.help Subject: Re: big5 only on emacs-nox for Fedora core 6 Date: Tue, 06 Mar 2007 09:30:00 +0100 Organization: disorganized Message-ID: <87veheojuf.fsf@localhorst.mine.nu> References: <1172906831.774039.235910@t69g2000cwt.googlegroups.com> <1173058326.592016.241520@j27g2000cwj.googlegroups.com> <1173085124.907910.303370@p10g2000cwp.googlegroups.com> <1173163936.535571.182480@n33g2000cwc.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1173170379 25596 80.91.229.12 (6 Mar 2007 08:39:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Mar 2007 08:39:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 06 09:39:31 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HOVCj-0003Yj-6d for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Mar 2007 09:39:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOVCk-0007GV-0v for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Mar 2007 03:39:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HOVC8-0007FR-Iy for help-gnu-emacs@gnu.org; Tue, 06 Mar 2007 03:38:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HOVC7-0007Er-98 for help-gnu-emacs@gnu.org; Tue, 06 Mar 2007 03:38:51 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOVC6-0007Ei-Ug for help-gnu-emacs@gnu.org; Tue, 06 Mar 2007 03:38:51 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HOVC6-0007Cx-0D for help-gnu-emacs@gnu.org; Tue, 06 Mar 2007 03:38:50 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HOVBz-0007jK-4D for help-gnu-emacs@gnu.org; Tue, 06 Mar 2007 09:38:43 +0100 Original-Received: from e178026048.adsl.alicedsl.de ([85.178.26.48]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Mar 2007 09:38:43 +0100 Original-Received: from david.hansen by e178026048.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Mar 2007 09:38:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 64 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: e178026048.adsl.alicedsl.de Mail-Copies-To: nobody User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux) Cancel-Lock: sha1:fB9LiUzH5ZoT6zA/Szcsq8hMMbo= X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41706 Archived-At: On 5 Mar 2007 22:52:16 -0800 "weihan" 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