unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: Help with Tamil (Indic) font (Emacs from bzr)
Date: Thu, 17 Jan 2013 00:36:51 +0530	[thread overview]
Message-ID: <87k3rd3q2c.fsf@gmail.com> (raw)
In-Reply-To: <8538y19h1l.fsf@iznogoud.viz> (Wolfgang Jenkner's message of "Wed, 16 Jan 2013 18:25:10 +0100")

Wolfgang Jenkner <wjenkner@inode.at> 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



  reply	other threads:[~2013-01-16 19:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-16 15:13 Help with Tamil (Indic) font (Emacs from bzr) Jambunathan K
2013-01-16 15:33 ` Andreas Schwab
2013-01-16 15:42   ` Jambunathan K
2013-01-16 17:59     ` Andreas Schwab
2013-01-16 17:25 ` Wolfgang Jenkner
2013-01-16 19:06   ` Jambunathan K [this message]
2013-01-16 19:20     ` Wolfgang Jenkner
2013-01-16 21:18       ` Jambunathan K
2013-01-17  1:39         ` Stephen J. Turnbull
2013-01-16 19:22     ` Eli Zaretskii

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=87k3rd3q2c.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=emacs-devel@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).