all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: Parag Nemade <pnemade@redhat.com>
Cc: bug-gnu-emacs@gnu.org, 5080@emacsbugs.donarmstrong.com,
	pravi.a@gmail.com, psatpute@redhat.com
Subject: bug#5080: indic text is not displayed correctly in emacs shell
Date: Thu, 03 Dec 2009 10:03:22 +0900	[thread overview]
Message-ID: <tl7y6lklvhh.fsf@m17n.org> (raw)
In-Reply-To: <4B14FB8B.1040801@redhat.com> (message from Parag Nemade on Tue, 01 Dec 2009 16:48:35 +0530)

In article <4B14FB8B.1040801@redhat.com>, Parag Nemade <pnemade@redhat.com> writes:

> Thanks. I am trying to say same thing to Kenichi but seems he 
> misunderstood that we both have same problem.

Yes, sorry.  As I got the similar reports almost at the same
time, I was confused.  As both reporters are reading this
mail, I'll summarize the problems.

(1) ZWJ is not handled correctly for some Indic scripts.
(2) Indic text is not rendered correctly in *shell* buffer.
(3) Emacs included in Fedora 12 doesn't render Indic correctly.
(4) Emacs doesn't render Indic correctly with some specific fonts.

Do I miss something?

(1) was fixed by the trial code I sent.  So, I've just
applied that change in lisp/language/indian.el.  Please try
again with the latest CVS code.

(2) With the fix of (1) and the correct setting of process
coding system, the output of 'cat' is ok but still 'ls' is
bad.  I think this is because your ls is aliased to
something "ls --color".  Please try this:

% type ls
% unalias ls
% ls

It seems that when 'ls' is invoked with --color, it output
some escape sequences (e.g. ESC [ 0) that are not handled by
shell-mode.

(3) It seems that m17n-db is not fully installed on Fedora 12.
Please install it.  Parhaps the package name is:
"Multilingualization datafiles for m17n-lib"

(4) I updated my ttf-freefont package.  FreeMono and
FreeSans doesn't contain Malayalam glyphs.  FreeSerif does
have the glyphs and mlym OpenType table and thus can render
Malayalam correctly with Emacs.  Praveen wrote that gedit
can render Malayalam with FreeMono font, but that's
unbelievable.  I suspect gedit is using some other fallback
font.  I don't know how to check exactly which font gedit is
using for each Indic characters.

By the way, to tell Emacs to use a specific font for, for
instance, Malayalam, try this:

(set-fontset-font t 'malayalam '("FONT_FAMILY_NAME" . "unicode-bmp"))

And to see which font is used for an Indic character, put
cursor on it, and type C-u C-x = RET.

---
Kenichi Handa
handa@m17n.org





  reply	other threads:[~2009-12-03  1:03 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-30 13:43 bug#5080: indic text is not displayed correctly in emacs shell Praveen A
2009-12-01  1:36 ` Kenichi Handa
2009-12-01  4:40   ` Parag Nemade
2009-12-01  5:25     ` Kenichi Handa
2009-12-01  5:39       ` Parag Nemade
2009-12-01  9:32         ` Praveen A
2009-12-01 11:18           ` Parag Nemade
2009-12-03  1:03             ` Kenichi Handa [this message]
2009-12-03  7:39               ` Parag Nemade
2009-12-03 11:24                 ` Kenichi Handa
2009-12-03 12:07                   ` Praveen A
2009-12-03 12:26                     ` Pravin Satpute
2009-12-04  2:16                     ` Kenichi Handa
2009-12-04  8:49                       ` Praveen A
2009-12-04 12:13                         ` Kenichi Handa
2009-12-04 12:52                           ` Kenichi Handa
2009-12-04 13:22                             ` Praveen A
     [not found]                           ` <3f2beab60912040510n9bc3257tdf310f0c5a10c69a@mail.gmail.com>
2009-12-07  1:13                             ` Kenichi Handa
2009-12-07  8:57                               ` Praveen A
2009-12-07 12:00                                 ` Kenichi Handa
2009-12-07 12:15                                   ` Praveen A
2009-12-07 12:29                                     ` Kenichi Handa
2009-12-07 13:03                                       ` Praveen A
2009-12-08  1:55                                         ` Kenichi Handa
2009-12-08  7:26                                           ` Praveen A
2009-12-07 12:56                                   ` Praveen A
2009-12-12 15:41                     ` Praveen A
2009-12-14  2:03                       ` Kenichi Handa
2011-09-18  9:32                       ` Lars Magne Ingebrigtsen
2011-09-20  3:26                         ` Kenichi Handa
2020-08-13  2:04                         ` Stefan Kangas
2020-11-19  2:52                           ` Stefan Kangas
2009-12-01  9:20   ` Praveen A

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tl7y6lklvhh.fsf@m17n.org \
    --to=handa@m17n.org \
    --cc=5080@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=pnemade@redhat.com \
    --cc=pravi.a@gmail.com \
    --cc=psatpute@redhat.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.