From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.devel Subject: Re: Help with Tamil (Indic) font (Emacs from bzr) Date: Thu, 17 Jan 2013 00:36:51 +0530 Message-ID: <87k3rd3q2c.fsf@gmail.com> References: <87ip6x5ffp.fsf@gmail.com> <8538y19h1l.fsf@iznogoud.viz> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1358363232 9528 80.91.229.3 (16 Jan 2013 19:07:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Jan 2013 19:07:12 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 16 20:07:30 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TvYKZ-0001tj-ON for ged-emacs-devel@m.gmane.org; Wed, 16 Jan 2013 20:07:23 +0100 Original-Received: from localhost ([::1]:36151 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvYKJ-0002Ms-5K for ged-emacs-devel@m.gmane.org; Wed, 16 Jan 2013 14:07:07 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50957) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvYKF-0002Kf-WC for emacs-devel@gnu.org; Wed, 16 Jan 2013 14:07:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvYKE-00035z-85 for emacs-devel@gnu.org; Wed, 16 Jan 2013 14:07:03 -0500 Original-Received: from mail-pa0-f45.google.com ([209.85.220.45]:39478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvYKE-00035t-1h for emacs-devel@gnu.org; Wed, 16 Jan 2013 14:07:02 -0500 Original-Received: by mail-pa0-f45.google.com with SMTP id bg2so956262pad.18 for ; Wed, 16 Jan 2013 11:07:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=NpM/iWQvqMI59nhsd/Z2oFlQR3BYbL0S0/4Uqfx/gKg=; b=D8GwL2isCdnNl0nswAlqPjhLVtDbyy448ZuPzpZXYl+wt/orjQ5lBzy7fHg5BKj10m Y3nLpFkA6eLQ0f+L3yKbZOaKE50zC2KeGNbcq4wNoLDqqXGHJbvsV9CPzOLuaxA5U0hH b+a4Zk6UWmG6mzngeI4LRxg/sfdY39f/W/OIZVPM6c8nXoH5x2TFy9HE8prwqrWMp9Wu TtWhnRrgaIAEc/E/Jp87Oxb4pG1dI3x7XWgWhIDzQKtrG0x+gQgCvZVMFbNI8g6fEEKP UYXrVYj+Rfz1MtS+C30PTBg6VSDD8Xz7d/xYsCVNLGM30nP3sMO+PHYt/3FBPjqMzDZM JaVQ== X-Received: by 10.68.136.73 with SMTP id py9mr5665766pbb.43.1358363221297; Wed, 16 Jan 2013 11:07:01 -0800 (PST) Original-Received: from debian-6.05 ([115.241.25.176]) by mx.google.com with ESMTPS id mz10sm12748490pbc.37.2013.01.16.11.06.57 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Wed, 16 Jan 2013 11:06:59 -0800 (PST) In-Reply-To: <8538y19h1l.fsf@iznogoud.viz> (Wolfgang Jenkner's message of "Wed, 16 Jan 2013 18:25:10 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.220.45 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:156429 Archived-At: Wolfgang Jenkner writes: > On Wed, Jan 16 2013, Jambunathan K wrote: > >> The attached screenshot shows the difference in behaviour between Emacs >> launched from Bzr (trunk) and Emacs23 that is distributed with Debian >> itself. The character that is shown is the one you get by typing "ki" >> in tamil-itrans. >> >> You will note following differences: >> >> 1. Emacs23 uses Lohit font while EmacsBzr picks up gnu-unifont. >> 2. Emacs23 "composes" the glyphs correctly while EmacsBzr messes up the >> display. > > > Please take a look at > > src/config.h > > and check that these lines > > /* Define to 1 if using libm17n-flt. */ > #define HAVE_M17N_FLT 1 > > /* Define to 1 if using libotf. */ > #define HAVE_LIBOTF 1 > > are present. If not see You guessed it right. EmacsFromBzr is failing to pick up those libraries. I am seeing following lines in src/config.h. ,---- src/config.h | /* Define to 1 if using libotf. */ | /* #undef HAVE_LIBOTF */ | | /* Define to 1 if using libm17n-flt. */ | /* #undef HAVE_M17N_FLT */ `---- I did a bzr clean-tree --ignored and then ran ./autogen.sh ./configure and this is what configure is reporting. ,---- | Does Emacs use -lxml2? yes | Does Emacs use -lfreetype? no | Does Emacs use -lm17n-flt? no <== | Does Emacs use -lotf? no <== | Does Emacs use -lxft? no <== `---- > * Complex Text Layout support libraries > > in the INSTALL file in the emacs top-level directory. Given that this > works in your distro's emacs 23 you should already have the necessary > libraries, but perhaps they are too old or configure can't find them > (config.log should give a clue). I do have the required m17n and otf libraries - both runtime and dev variations. Am I missing any other libraries? Should I file a bug report? ,---- | kjambunathan@debian-6:~/src/emacs/trunk$ ldd `which emacs23` | grep otf | libotf.so.0 => /usr/lib/libotf.so.0 (0xb6b5b000) | | kjambunathan@debian-6:~/src/emacs/trunk$ ldd `which emacs23` | grep m17n | libm17n-flt.so.0 => /usr/lib/libm17n-flt.so.0 (0xb6a84000) | libm17n-core.so.0 => /usr/lib/libm17n-core.so.0 (0xb6a5f000) `---- ,---- | kjambunathan@debian-6:~$ dpkg -l | grep m17n | ii libm17n-0 1.6.1-1 a multilingual text processing library - runtime | ii libm17n-dev 1.6.1-1 a multilingual text processing library - development | ii m17n-contrib 1.1.11-1 a multilingual text processing library - contributed database | ii m17n-db 1.6.1-2 a multilingual text processing library - database `---- ,---- | kjambunathan@debian-6:~$ dpkg -l | grep otf | ii libotf-dev 0.9.11-1 A Library for handling OpenType Font - development | ii libotf0 0.9.11-1 A Library for handling OpenType Font - runtime `---- > > Wolfgang