From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs Subject: bug#5080: indic text is not displayed correctly in emacs shell Date: Fri, 04 Dec 2009 11:16:29 +0900 Message-ID: References: <3f2beab60911300543l2436ff3ar8e5b5124db9db218@mail.gmail.com> <4B149E53.7060106@redhat.com> <4B14AC18.6070308@redhat.com> <3f2beab60912010132s2fee9301k4aad7f151b195629@mail.gmail.com> <4B14FB8B.1040801@redhat.com> <4B176B1C.4040507@redhat.com> <3f2beab60912030407o5609514bidc65538848064e4@mail.gmail.com> Reply-To: Kenichi Handa , 5080@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1259893667 11590 80.91.229.12 (4 Dec 2009 02:27:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Dec 2009 02:27:47 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, pnemade@redhat.com, 5080@emacsbugs.donarmstrong.com, psatpute@redhat.com To: Praveen A Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 04 03:27:40 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 1NGNtT-00085o-KC for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Dec 2009 03:27:39 +0100 Original-Received: from localhost ([127.0.0.1]:34134 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGNtT-0001XT-3L for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Dec 2009 21:27:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGNtP-0001XG-FN for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2009 21:27:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGNtK-0001WH-Ac for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2009 21:27:35 -0500 Original-Received: from [199.232.76.173] (port=40866 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGNtK-0001WD-7g for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2009 21:27:30 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:50717) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NGNtJ-0005Jn-Mu for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2009 21:27:30 -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 nB42ROTN019487; Thu, 3 Dec 2009 18:27:25 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nB42P5Kf019187; Thu, 3 Dec 2009 18:25:05 -0800 Resent-Date: Thu, 3 Dec 2009 18:25:05 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Kenichi Handa Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 04 Dec 2009 02:25:05 +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.125989300518678 (code B ref -1); Fri, 04 Dec 2009 02:25:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 4 Dec 2009 02:16:45 +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 nB42GhdX018675 for ; Thu, 3 Dec 2009 18:16:44 -0800 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGNis-0002jc-Na for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2009 21:16:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGNio-0002bd-Me for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2009 21:16:42 -0500 Original-Received: from [199.232.76.173] (port=44602 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGNio-0002bJ-GU for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2009 21:16:38 -0500 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:46007) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NGNin-0004HW-RV for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2009 21:16:38 -0500 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id nB42GUpw026882; Fri, 4 Dec 2009 11:16:30 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id nB42GUrK008357; Fri, 4 Dec 2009 11:16:30 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id nB42GTx2003286; Fri, 4 Dec 2009 11:16:29 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1NGNif-0001VY-AR; Fri, 04 Dec 2009 11:16:29 +0900 In-Reply-To: <3f2beab60912030407o5609514bidc65538848064e4@mail.gmail.com> (message from Praveen A on Thu, 3 Dec 2009 17:37:18 +0530) X-detected-operating-system: by monty-python.gnu.org: Solaris 9 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 03 Dec 2009 21:27:35 -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:33192 Archived-At: In article <3f2beab60912030407o5609514bidc65538848064e4@mail.gmail.com>, Praveen A writes: > > (set-fontset-font t 'malayalam '("rachana" . "unicode-bmp")) > > > > I installed rachana font and confirmed that the above code > > worked. > Thanks. It works for me now. But how to make it default? Please put that in your .emacs. > I have my fontconfig preferences to prefer Meera, but emacs does not > respect that and takes Lohit Malayalam instead. Currently Emacs just uses the first font found to support Malayalam. What is returned when you do this? % fc-list :lang=ml For fontconfig, we should modify the function ftfont_list in (src/ftfont.c) to respect user configuration, but currently I don't have a time to do that. > (4a) Why is it taking Lohit Malayalam by default > (4b) Why is the display cluttered/overlapped with some fonts like Meera > (1a) now with your patch, emacs handles ZWJ > (1b) There is a problem with Lohit Malayalam, I had a discussion with > Lohit developer (Pravin Satpute) and he says it is an issue with > m17n/redering engine. > Meera and Rachana uses substitution for complex glyphs, but Lohit uses > some fatures of OpenType specification and which needs to be > implemented in rendering engine used by emacs. For a rendering problem with a specific font, please send a set of the following info separately for each problem. You may have already sent some of them in the other mails, but, as I'm not a malayalam expert, I can't figure out easily which part is actually bad and how to reproduce the problem. (1) font file name (if possible, with the version number) (2) problematic character sequence (3) image of Emacs' rendering of that sequence (4) image of the correct rendering with the same font --- Kenichi Handa handa@m17n.org