GNU bug report logs -
#5080
indic text is not displayed correctly in emacs shell
Previous Next
Reported by: Praveen A <pravi.a <at> gmail.com>
Date: Mon, 30 Nov 2009 13:50:03 UTC
Severity: normal
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
2009/12/3 Kenichi Handa <handa <at> m17n.org>:
> 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?
That covers it all.
> (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.
Thanks. I will request fedora and debian emacs maintainers to include this.
> (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.
yes, indeed that is the case, see attached screenhsots. It worked in
Fedora by default and after unalias in debian.
> (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"
yes. Parag has requested a dependency be added to emacs package.
> (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.
yes, FreeMono does not have Malayalam glyphs, It would be a fallback
font. (Dejavu Sans Mono/FreeMono fallback to Lohit)
> 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"))
It is not working for me. I tried it as is and substituting
unicode-bmp with Rachana. Both cases it went to Lohit. Is it taking
this preference from fontconfig?
> And to see which font is used for an Indic character, put
> cursor on it, and type C-u C-x = RET.
xft:-unknown-Lohit
Malayalam-normal-normal-normal-*-20-*-*-*-*-0-iso10646-1 (#x3A)
Thanks for all the help.
- Praveen
--
à´ªàµà´°à´µàµà´£àµâ à´
à´°à´¿à´®àµà´ªàµà´°à´¤àµà´¤àµà´à´¿à´¯à´¿à´²àµâ
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
Join The DRM Elimination Crew Now!
http://fci.wikia.com/wiki/Anti-DRM-Campaign
[സ്ക്രീന്ഷോട്ട്-emacs-fedora.png (image/png, attachment)]
[സ്ക്രീന്ഷോട്ട്-emacs-debian-dejavu-sans-mono.png (image/png, attachment)]
[സ്ക്രീന്ഷോട്ട്-emacs-debian-rachana.png (image/png, attachment)]
This bug report was last modified 4 years and 265 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.