From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Parag Nemade Newsgroups: gmane.emacs.bugs Subject: bug#5080: indic text is not displayed correctly in emacs shell Date: Thu, 03 Dec 2009 13:09:08 +0530 Message-ID: <4B176B1C.4040507@redhat.com> References: <3f2beab60911300543l2436ff3ar8e5b5124db9db218@mail.gmail.com> <4B149E53.7060106@redhat.com> <4B14AC18.6070308@redhat.com> <3f2beab60912010132s2fee9301k4aad7f151b195629@mail.gmail.com> <4B14FB8B.1040801@redhat.com> Reply-To: Parag Nemade , 5080@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1259877944 5835 80.91.229.12 (3 Dec 2009 22:05:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Dec 2009 22:05:44 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, 5080@emacsbugs.donarmstrong.com, pravi.a@gmail.com, psatpute@redhat.com To: Kenichi Handa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 03 23:05:36 2009 Return-path: Envelope-to: geb-bug-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 1NGJnr-0001LD-6X for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Dec 2009 23:05:35 +0100 Original-Received: from localhost ([127.0.0.1]:35800 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGJnq-0001Qj-To for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Dec 2009 17:05:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NG6PV-0007SY-4R for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2009 02:47:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NG6PQ-0007RQ-FB for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2009 02:47:32 -0500 Original-Received: from [199.232.76.173] (port=49343 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NG6PQ-0007RN-8R for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2009 02:47:28 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:38428) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NG6PP-0008Tz-Rm for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2009 02:47:28 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NG6PO-0001Ao-OU for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2009 02:47:27 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB37lOiW011011; Wed, 2 Dec 2009 23:47:25 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nB37j65i010742; Wed, 2 Dec 2009 23:45:06 -0800 Resent-Date: Wed, 2 Dec 2009 23:45:06 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Parag Nemade Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 03 Dec 2009 07:45:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 5080 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12598253708882 (code B ref -1); Thu, 03 Dec 2009 07:45:06 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 3 Dec 2009 07:29:30 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB37TRGx008879 for ; Wed, 2 Dec 2009 23:29:29 -0800 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NG67z-0000EZ-HL for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2009 02:29:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NG67u-0000Co-GZ for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2009 02:29:26 -0500 Original-Received: from [199.232.76.173] (port=47477 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NG67u-0000Cl-D1 for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2009 02:29:22 -0500 Original-Received: from mx1.redhat.com ([209.132.183.28]:59105) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NG67t-0006nU-W4 for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2009 02:29:22 -0500 Original-Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nB37TCSw023810 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 3 Dec 2009 02:29:13 -0500 Original-Received: from [10.65.193.119] (dhcp1-119.pnq.redhat.com [10.65.193.119]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nB37T9Aa011094; Thu, 3 Dec 2009 02:29:10 -0500 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091125 Fedora/3.0-3.12.rc1.fc12 Thunderbird/3.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Thu, 03 Dec 2009 02:47:32 -0500 X-Mailman-Approved-At: Thu, 03 Dec 2009 17:05:10 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:33180 Archived-At: Hi, On Thursday 03 December 2009 06:33 AM, Kenichi Handa wrote: > In article<4B14FB8B.1040801@redhat.com>, Parag Nemade writes: > > >> Thanks. I am trying to say same thing to Kenichi but seems he >> misunderstood that we both have same problem. >> > Yes, sorry. As I got the similar reports almost at the same > time, I was confused. As both reporters are reading this > mail, I'll summarize the problems. > > (1) ZWJ is not handled correctly for some Indic scripts. > (2) Indic text is not rendered correctly in *shell* buffer. > (3) Emacs included in Fedora 12 doesn't render Indic correctly. > (4) Emacs doesn't render Indic correctly with some specific fonts. > > Do I miss something? > > (1) was fixed by the trial code I sent. So, I've just > applied that change in lisp/language/indian.el. Please try > again with the latest CVS code. > > (2) With the fix of (1) and the correct setting of process > coding system, the output of 'cat' is ok but still 'ls' is > bad. I think this is because your ls is aliased to > something "ls --color". Please try this: > > % type ls > % unalias ls > % ls > > It seems that when 'ls' is invoked with --color, it output > some escape sequences (e.g. ESC [ 0) that are not handled by > shell-mode. > > (3) It seems that m17n-db is not fully installed on Fedora 12. > Please install it. Parhaps the package name is: > "Multilingualization datafiles for m17n-lib" > Thank you so much. I got this working after I installed m17n-db-datafiles rpm. > (4) I updated my ttf-freefont package. FreeMono and > FreeSans doesn't contain Malayalam glyphs. FreeSerif does > have the glyphs and mlym OpenType table and thus can render > Malayalam correctly with Emacs. Praveen wrote that gedit > can render Malayalam with FreeMono font, but that's > unbelievable. I suspect gedit is using some other fallback > font. I don't know how to check exactly which font gedit is > using for each Indic characters. > > By the way, to tell Emacs to use a specific font for, for > instance, Malayalam, try this: > > (set-fontset-font t 'malayalam '("FONT_FAMILY_NAME" . "unicode-bmp")) > > And to see which font is used for an Indic character, put > cursor on it, and type C-u C-x = RET. > > Regards, Parag.