GNU bug report logs -
#7005
24.0.50; Devanagari rendering broken
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7005 in the body.
You can then email your comments to 7005 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7005
; Package
emacs
.
(Thu, 09 Sep 2010 16:16:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ramkumar Ramachandra <artagnon <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 09 Sep 2010 16:16:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
Steps to reproduce:
Open a file containing UTF-8 Devanagari script in Emacs. It is rendered
incorrectly. For example, in the word "लिखने", The first and second
rendered characters are swapped. Konsole (Qt) renders this correctly.
A page on the EmacsWiki suggests a workaround that works on Ubuntu
though [1].
Thanks.
[1]: http://www.emacswiki.org/emacs/SupportHindi
In GNU Emacs 24.0.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1)
of 2010-08-21 on elegiac, modified by Debian
(emacs-snapshot package, version 1:20100903-3)
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
configured using `configure '--build' 'x86_64-linux-gnu' '--host' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/24.0.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.0.50/site-lisp:/usr/share/emacs/site-lisp' '--without-compress-info' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8
default enable-multibyte-characters: t
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7005
; Package
emacs
.
(Fri, 10 Sep 2010 00:33:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 7005 <at> debbugs.gnu.org (full text, mbox):
In article <20100909160424.GA16852 <at> kytes>, Ramkumar Ramachandra <artagnon <at> gmail.com> writes:
> Steps to reproduce:
> Open a file containing UTF-8 Devanagari script in Emacs. It is rendered
> incorrectly. For example, in the word "लिखने", The first and second
> rendered characters are swapped. Konsole (Qt) renders this correctly.
Emacs 23 and later shifted the support of Indic (and any
other complex scripts) to OpenType fonts. And, on
GNU/Linux, you need libotf, m17n-db, and m17n-lib to make
Emacs render those scripts correctly by OTF.
> A page on the EmacsWiki suggests a workaround that works on Ubuntu
> though [1].
It's not a "workaround" but the right thing on GNU/Linux
systems.
---
Kenichi Handa
handa <at> m17n.org
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7005
; Package
emacs
.
(Fri, 10 Sep 2010 04:52:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 7005 <at> debbugs.gnu.org (full text, mbox):
Hi Kenichi,
Kenichi Handa writes:
> In article <20100909160424.GA16852 <at> kytes>, Ramkumar Ramachandra <artagnon <at> gmail.com> writes:
>
> > Steps to reproduce:
> > Open a file containing UTF-8 Devanagari script in Emacs. It is rendered
> > incorrectly. For example, in the word "लिखने", The first and second
> > rendered characters are swapped. Konsole (Qt) renders this correctly.
>
> Emacs 23 and later shifted the support of Indic (and any
> other complex scripts) to OpenType fonts. And, on
> GNU/Linux, you need libotf, m17n-db, and m17n-lib to make
> Emacs render those scripts correctly by OTF.
Thanks for the explanation.
> > A page on the EmacsWiki suggests a workaround that works on Ubuntu
> > though [1].
>
> It's not a "workaround" but the right thing on GNU/Linux
> systems.
I see. Well, I suppose I should put it like this then:
1. Emacs should then refuse to render Devanagari without the required
libraries, not render them incorrectly.
2. I have those libraries installed on my Debian Sid machine, and
Emacs still doesn't render them correctly. I don't suppose this
belongs here- I'll head over to bugs.debian.org.
Thanks.
-- Ram
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7005
; Package
emacs
.
(Fri, 10 Sep 2010 05:34:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 7005 <at> debbugs.gnu.org (full text, mbox):
Ramkumar Ramachandra <artagnon <at> gmail.com> writes:
> 2. I have those libraries installed on my Debian Sid machine, and
> Emacs still doesn't render them correctly. I don't suppose this
> belongs here- I'll head over to bugs.debian.org.
emacs-snapshot is deliberately built without m17n/otf support, so
this is not a bug.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7005
; Package
emacs
.
(Fri, 10 Sep 2010 05:41:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 7005 <at> debbugs.gnu.org (full text, mbox):
Hi Romain,
Romain Francoise writes:
> Ramkumar Ramachandra <artagnon <at> gmail.com> writes:
>
> > 2. I have those libraries installed on my Debian Sid machine, and
> > Emacs still doesn't render them correctly. I don't suppose this
> > belongs here- I'll head over to bugs.debian.org.
>
> emacs-snapshot is deliberately built without m17n/otf support, so
> this is not a bug.
Ah, I see. By the way, why is it built without m17n/otf support?
-- Ram
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7005
; Package
emacs
.
(Fri, 10 Sep 2010 11:45:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 7005 <at> debbugs.gnu.org (full text, mbox):
Ramkumar Ramachandra <artagnon <at> gmail.com> writes:
> Ah, I see. By the way, why is it built without m17n/otf support?
Historically because when m17n/otf support was added to Emacs, the
m17n/otf packages in Debian were outdated and the maintainer was
apparently missing. But now that I look into it again, it seems that
they have a new maintainer and the state of the packages looks
pretty good, so I think I'll enable m17n/otf in a future snapshot
release.
bug closed, send any further explanations to Ramkumar Ramachandra <artagnon <at> gmail.com>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Thu, 16 Sep 2010 03:59:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7005
; Package
emacs
.
(Thu, 16 Sep 2010 11:28:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 7005 <at> debbugs.gnu.org (full text, mbox):
In article <20100910045115.GE27725 <at> kytes>, Ramkumar Ramachandra <artagnon <at> gmail.com> writes:
> I see. Well, I suppose I should put it like this then:
> 1. Emacs should then refuse to render Devanagari without the required
> libraries, not render them incorrectly.
What do you exactly mean by "refuse to render Devanagari"?
Show just empty boxes for each character?
---
Kenichi Handa
handa <at> m17n.org
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7005
; Package
emacs
.
(Thu, 16 Sep 2010 12:05:02 GMT)
Full text and
rfc822 format available.
Message #28 received at 7005 <at> debbugs.gnu.org (full text, mbox):
Hi Kenichi,
Kenichi Handa writes:
> In article <20100910045115.GE27725 <at> kytes>, Ramkumar Ramachandra <artagnon <at> gmail.com> writes:
>
> > I see. Well, I suppose I should put it like this then:
> > 1. Emacs should then refuse to render Devanagari without the required
> > libraries, not render them incorrectly.
>
> What do you exactly mean by "refuse to render Devanagari"?
> Show just empty boxes for each character?
Yeah, or something like that. Isn't that better than rendering
something that's incorrect and misleading?
-- Ram
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7005
; Package
emacs
.
(Thu, 16 Sep 2010 12:19:02 GMT)
Full text and
rfc822 format available.
Message #31 received at 7005 <at> debbugs.gnu.org (full text, mbox):
In article <20100916120501.GA5217 <at> kytes>, Ramkumar Ramachandra <artagnon <at> gmail.com> writes:
> Hi Kenichi,
> Kenichi Handa writes:
> > In article <20100910045115.GE27725 <at> kytes>, Ramkumar Ramachandra <artagnon <at> gmail.com> writes:
> >
> > > I see. Well, I suppose I should put it like this then:
> > > 1. Emacs should then refuse to render Devanagari without the required
> > > libraries, not render them incorrectly.
> >
> > What do you exactly mean by "refuse to render Devanagari"?
> > Show just empty boxes for each character?
> Yeah, or something like that. Isn't that better than rendering
> something that's incorrect and misleading?
I'm not sure. I myself prefer seeing each character by its
original shape (i.e. no-reordering, no-ligature,
no-positioning) than seeing just empty boxes.
It may be good to highlight incorrectly rendered part by
some warning face.
---
Kenichi Handa
handa <at> m17n.org
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7005
; Package
emacs
.
(Fri, 17 Sep 2010 17:01:02 GMT)
Full text and
rfc822 format available.
Message #34 received at 7005 <at> debbugs.gnu.org (full text, mbox):
Hi,
Kenichi Handa writes:
> I'm not sure. I myself prefer seeing each character by its
> original shape (i.e. no-reordering, no-ligature,
> no-positioning) than seeing just empty boxes.
>
> It may be good to highlight incorrectly rendered part by
> some warning face.
Sure, that makes sense.
-- Ram
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 16 Oct 2010 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 14 years and 303 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.