unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Incorrect devanagari rendering on Linux
@ 2009-02-18  7:07 Dheeraj Reddy
  2009-02-18  9:37 ` Ashish SHUKLA
  2009-02-18 12:10 ` Richard M Stallman
  0 siblings, 2 replies; 10+ messages in thread
From: Dheeraj Reddy @ 2009-02-18  7:07 UTC (permalink / raw)
  To: emacs-devel

Hello all

   I am trying to use Feb 13 checked out sources of emacs and trying to write 
some devanagari scripts using the devanagari-itrans input method.
The win32 build works correctly on my windows xp machine but on my x86-64 
Debian Linux box, it doesn't work correctly.

The Linux rendering looks like

http://www.flickr.com/photos/35487238@N05/3290009410/

While the correct windows rendering looks like

http://www.flickr.com/photos/35487238@N05/3289203377/

I am on Debian -unstable fwiw.


truly
dheeraj

===================================================================
The Linux build is built using the following libraries
[triveni:~/Builds/emacs]$ ldd ./src/emacs-23.0.90.1
        linux-vdso.so.1 =>  (0x00007fffdd7ff000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 
(0x00007f33d4ea1000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 
(0x00007f33d4c01000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00007f33d49e0000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 
(0x00007f33d47b3000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 
(0x00007f33d4598000)
        libm.so.6 => /lib/libm.so.6 (0x00007f33d4315000)
        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 
(0x00007f33d4109000)
        libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00007f33d3e93000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00007f33d3c11000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00007f33d39c6000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f33d3742000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007f33d352b000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007f33d32fa000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 
(0x00007f33d30b5000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 
(0x00007f33d2eb2000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f33d2bee000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007f33d29d2000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x00007f33d27ca000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x00007f33d25af000)
        libtiff.so.4 => /usr/lib/libtiff.so.4 (0x00007f33d2353000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00007f33d2131000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00007f33d1f0b000)
        libgif.so.4 => /usr/lib/libgif.so.4 (0x00007f33d1d03000)
        libXpm.so.4 => /usr/lib/libXpm.so.4 (0x00007f33d1af2000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f33d17e6000)
        libXft.so.2 => /usr/lib/libXft.so.2 (0x00007f33d15d2000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0x00007f33d12f6000)
        librsvg-2.so.2 => /usr/lib/librsvg-2.so.2 (0x00007f33d10c0000)
        libncurses.so.5 => /lib/libncurses.so.5 (0x00007f33d0e81000)
        libotf.so.0 => /usr/local/lib/libotf.so.0 (0x00007f33d0c64000)
        libc.so.6 => /lib/libc.so.6 (0x00007f33d0911000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f33d0700000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007f33d04f7000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00007f33d02f5000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0x00007f33d00eb000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00007f33cfee4000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00007f33cfcda000)
        libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x00007f33cfad8000)
        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x00007f33cf8d6000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00007f33d557e000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007f33cf6d2000)
        libpcre.so.3 => /usr/lib/libpcre.so.3 (0x00007f33cf4a3000)
        libselinux.so.1 => /lib/libselinux.so.1 (0x00007f33cf287000)
        libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x00007f33cf042000)
        libdirectfb-1.0.so.0 => /usr/lib/libdirectfb-1.0.so.0 
(0x00007f33cedcb000)
        libfusion-1.0.so.0 => /usr/lib/libfusion-1.0.so.0 (0x00007f33cebc3000)
        libdirect-1.0.so.0 => /usr/lib/libdirect-1.0.so.0 (0x00007f33ce9ad000)
        libxcb-render-util.so.0 => /usr/lib/libxcb-render-util.so.0 
(0x00007f33ce7aa000)
        libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x00007f33ce5a2000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f33ce386000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f33ce15d000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f33d5488000)
        libuuid.so.1 => /lib/libuuid.so.1 (0x00007f33cdf59000)
        libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0x00007f33cdd58000)
        librt.so.1 => /lib/librt.so.1 (0x00007f33cdb4f000)
        libgsf-1.so.114 => /usr/lib/libgsf-1.so.114 (0x00007f33cd90f000)
        libcroco-0.6.so.3 => /usr/lib/libcroco-0.6.so.3 (0x00007f33cd6d5000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007f33cd379000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f33cd177000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f33ccf72000)
        libbz2.so.1.0 => /lib/libbz2.so.1.0 (0x00007f33ccd62000)
[triveni:~/Builds/emacs]$
=========================================================================





^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Incorrect devanagari rendering on Linux
  2009-02-18  7:07 Incorrect devanagari rendering on Linux Dheeraj Reddy
@ 2009-02-18  9:37 ` Ashish SHUKLA
  2009-02-18 10:27   ` Kenichi Handa
  2009-02-18 12:10 ` Richard M Stallman
  1 sibling, 1 reply; 10+ messages in thread
From: Ashish SHUKLA @ 2009-02-18  9:37 UTC (permalink / raw)
  To: Dheeraj Reddy; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1035 bytes --]

Dheeraj Reddy writes:
> Hello all

Hi Dheeraj,

>    I am trying to use Feb 13 checked out sources of emacs and trying to write 
> some devanagari scripts using the devanagari-itrans input method.
> The win32 build works correctly on my windows xp machine but on my x86-64 
> Debian Linux box, it doesn't work correctly.

> The Linux rendering looks like

> http://www.flickr.com/photos/35487238@N05/3290009410/

> While the correct windows rendering looks like

> http://www.flickr.com/photos/35487238@N05/3289203377/

> I am on Debian -unstable fwiw.

The devanagari script rendering on Emacs CVS is perfect. The problem
you're having is due to the complex text layout rendering support
excluded during compilation. Please check out Emacs bug# 1033[1], where
someone else posted a similar issue. So you need to compile your own
Emacs or request the maintainer to compile Emacs with CTL options.

References:
[1]  http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1033

HTH
-- 
Ashish SHUKLA

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Incorrect devanagari rendering on Linux
  2009-02-18  9:37 ` Ashish SHUKLA
@ 2009-02-18 10:27   ` Kenichi Handa
  2009-02-18 19:55     ` David De La Harpe Golden
  0 siblings, 1 reply; 10+ messages in thread
From: Kenichi Handa @ 2009-02-18 10:27 UTC (permalink / raw)
  To: Ashish SHUKLA; +Cc: dheerajr, emacs-devel

In article <87bpt02ihg.fsf@chateau.d.lf>, wahjava.ml@gmail.com (Ashish SHUKLA) writes:

> The devanagari script rendering on Emacs CVS is perfect. The problem
> you're having is due to the complex text layout rendering support
> excluded during compilation. Please check out Emacs bug# 1033[1], where
> someone else posted a similar issue. So you need to compile your own
> Emacs or request the maintainer to compile Emacs with CTL options.

On GNU/Linux system, Emacs must be compiled with libraries
m17n-lib and libotf (and m17n-db) for CTL.  Please install
those packages, or, if they are not available for your
system, install them from the source code available at:
    http://www.m17n.org/m17n-lib-en/download.html
    http://www.m17n.org/libotf/
and, re-build Emacs.

---
Kenichi Handa
handa@m17n.org




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Incorrect devanagari rendering on Linux
  2009-02-18  7:07 Incorrect devanagari rendering on Linux Dheeraj Reddy
  2009-02-18  9:37 ` Ashish SHUKLA
@ 2009-02-18 12:10 ` Richard M Stallman
  2009-02-18 15:19   ` Dheeraj Reddy
  1 sibling, 1 reply; 10+ messages in thread
From: Richard M Stallman @ 2009-02-18 12:10 UTC (permalink / raw)
  To: Dheeraj Reddy; +Cc: emacs-devel

     but on my x86-64 
    Debian Linux box, it doesn't work correctly.

Please don't call it "Debian Linux".  You're talking about a version
of the GNU system, used with Linux as the kernel.  To call the whole
thing just "Linux" is to give the credit for our work to someone else
who started later and did less.  That's being unfair to us.

See http://www.gnu.org/gnu/linux-and-gnu.html and
http://www.gnu.org/gnu/gnu-linux-faq.html, plus
http://www.gnu.org/gnu/the-gnu-project.html for historical background.

    The Linux rendering looks like

Linux doesn't do rendering.  That is not part of its job.

    The Linux build is built using the following libraries

This build has nothing to do with Linux either.
(Some of the libraries in it are developed by the GNU Project.)

    The win32 build works correctly on my windows xp machine

In hacker terminology, calling something a "win" is a form of praise.
If you wish to praise Microsoft Windows, you're free to do so; but if you
don't, then you might want to think twice about using the term "win32".




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Incorrect devanagari rendering on Linux
  2009-02-18 12:10 ` Richard M Stallman
@ 2009-02-18 15:19   ` Dheeraj Reddy
  2009-02-18 23:05     ` Richard M Stallman
  0 siblings, 1 reply; 10+ messages in thread
From: Dheeraj Reddy @ 2009-02-18 15:19 UTC (permalink / raw)
  To: emacs-devel

Richard M Stallman <rms <at> gnu.org> writes:
> Please don't call it "Debian Linux".  You're talking about a version
> of the GNU system, used with Linux as the kernel.  To call the whole
> thing just "Linux" is to give the credit for our work to someone else
> who started later and did less.  That's being unfair to us. 
> See http://www.gnu.org/gnu/linux-and-gnu.html and
> http://www.gnu.org/gnu/gnu-linux-faq.html, plus
> http://www.gnu.org/gnu/the-gnu-project.html for historical background.
> 

Thank you Richard for correcting me. I shall refine my terminology to call my 
system a Debian GNU Linux system and try to avoid the phrase 'win32'.
Apologies due for any grief caused.

Time to fix my issue by following the suggestions by Ashish and Keichi san.

truly
dheeraj







^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Incorrect devanagari rendering on Linux
  2009-02-18 10:27   ` Kenichi Handa
@ 2009-02-18 19:55     ` David De La Harpe Golden
  2009-02-18 20:07       ` Dheeraj Reddy
  0 siblings, 1 reply; 10+ messages in thread
From: David De La Harpe Golden @ 2009-02-18 19:55 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: dheerajr, Ashish SHUKLA, Harshula, emacs-devel

Kenichi Handa wrote:

> On GNU/Linux system, Emacs must be compiled with libraries
> m17n-lib and libotf (and m17n-db) for CTL.  Please install
> those packages, or, if they are not available for your
> system, install them from the source code available at:
>     http://www.m17n.org/m17n-lib-en/download.html
>     http://www.m17n.org/libotf/
> and, re-build Emacs.
> 

Beware also the Debian libotf package is currently outdated (0.9.4), too 
old to build emacs against (at least not without hassle).

Harshula, cc'd, recently offered to act as a new debian maintainer for 
the package, but in any case new packages haven't materialised as yet!
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512068#10






^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Incorrect devanagari rendering on Linux
  2009-02-18 19:55     ` David De La Harpe Golden
@ 2009-02-18 20:07       ` Dheeraj Reddy
  2009-02-24  6:28         ` Miles Bader
  0 siblings, 1 reply; 10+ messages in thread
From: Dheeraj Reddy @ 2009-02-18 20:07 UTC (permalink / raw)
  To: David De La Harpe Golden
  Cc: Ashish SHUKLA, emacs-devel, Harshula, Kenichi Handa

Thanks all,
   Works like a charm. I installed libotf-0.9.8 frmo the respective homepage.

truly
dheeraj

On Wed, Feb 18, 2009 at 11:55 AM, David De La Harpe Golden
<david@harpegolden.net> wrote:
> Kenichi Handa wrote:
>
>> On GNU/Linux system, Emacs must be compiled with libraries
>> m17n-lib and libotf (and m17n-db) for CTL.  Please install
>> those packages, or, if they are not available for your
>> system, install them from the source code available at:
>>    http://www.m17n.org/m17n-lib-en/download.html
>>    http://www.m17n.org/libotf/
>> and, re-build Emacs.
>>
>
> Beware also the Debian libotf package is currently outdated (0.9.4), too old
> to build emacs against (at least not without hassle).
>
> Harshula, cc'd, recently offered to act as a new debian maintainer for the
> package, but in any case new packages haven't materialised as yet!
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512068#10
>
>
>




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Incorrect devanagari rendering on Linux
  2009-02-18 15:19   ` Dheeraj Reddy
@ 2009-02-18 23:05     ` Richard M Stallman
  0 siblings, 0 replies; 10+ messages in thread
From: Richard M Stallman @ 2009-02-18 23:05 UTC (permalink / raw)
  To: Dheeraj Reddy; +Cc: emacs-devel

    Thank you Richard for correcting me. I shall refine my terminology to call my 
    system a Debian GNU Linux system and try to avoid the phrase 'win32'.

Thank you.  That will increase our influence as we campaign for users'
freedom.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Incorrect devanagari rendering on Linux
  2009-02-18 20:07       ` Dheeraj Reddy
@ 2009-02-24  6:28         ` Miles Bader
  2009-02-24 18:17           ` David De La Harpe Golden
  0 siblings, 1 reply; 10+ messages in thread
From: Miles Bader @ 2009-02-24  6:28 UTC (permalink / raw)
  To: Dheeraj Reddy
  Cc: Ashish SHUKLA, emacs-devel, Harshula, Kenichi Handa,
	David De La Harpe Golden

FWIW, libotf 0.9.8 finally made it into debian unstable.

-miles

-- 
=====
(^o^;
(()))
*This is the cute octopus virus, please copy it into your sig so it can spread.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Incorrect devanagari rendering on Linux
  2009-02-24  6:28         ` Miles Bader
@ 2009-02-24 18:17           ` David De La Harpe Golden
  0 siblings, 0 replies; 10+ messages in thread
From: David De La Harpe Golden @ 2009-02-24 18:17 UTC (permalink / raw)
  To: Emacs developers; +Cc: Harshula

Miles Bader wrote:
> FWIW, libotf 0.9.8 finally made it into debian unstable.
> 

Yes, thanks to Harshula there for stepping up!

Debian Lenny did just ship with the old libotf, so still something 
people may need to keep an eye out for for a bit when emacs bug reports 
from debian users come in, obviously enough.



















^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-02-24 18:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-18  7:07 Incorrect devanagari rendering on Linux Dheeraj Reddy
2009-02-18  9:37 ` Ashish SHUKLA
2009-02-18 10:27   ` Kenichi Handa
2009-02-18 19:55     ` David De La Harpe Golden
2009-02-18 20:07       ` Dheeraj Reddy
2009-02-24  6:28         ` Miles Bader
2009-02-24 18:17           ` David De La Harpe Golden
2009-02-18 12:10 ` Richard M Stallman
2009-02-18 15:19   ` Dheeraj Reddy
2009-02-18 23:05     ` Richard M Stallman

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