From: Kenichi Handa <handa@m17n.org>
To: Praveen A <pravi.a@gmail.com>, 5081@emacsbugs.donarmstrong.com
Cc: bug-gnu-emacs@gnu.org, pnemade@redhat.com, psatpute@redhat.com,
surumafonts@gmail.com
Subject: bug#5081: zwj should not be ignored in indic text
Date: Tue, 01 Dec 2009 10:33:15 +0900 [thread overview]
Message-ID: <tl7aay3zdes.fsf@m17n.org> (raw)
In-Reply-To: <3f2beab60911300654qdc88c5as42b929860f22580f@mail.gmail.com> (message from Praveen A on Mon, 30 Nov 2009 20:24:17 +0530)
> ZWJ is required to display some characters (like Malayalam chillu or
> pure consonants) in many indic languages (Persian and Arabic also
> needs these characters). These should not be ignored while displaying
> indic text.
Please try to evaluate this:
(let ((script-regexp-alist
`((devanagari . "[\x900-\x97F\x200C\x200D]+")
(bengali . "[\x980-\x9FF\x200C\x200D]+")
(gurmukhi . "[\xA00-\xA7F\x200C\x200D]+")
(gujarati . "[\xA80-\xAFF\x200C\x200D]+")
(oriya . "[\xB00-\xB7F\x200C\x200D]+")
(tamil . "[\xB80-\xBFF\x200C\x200D]+")
(telugu . "[\xC00-\xC7F\x200C\x200D]+")
(kannada . "[\xC80-\xCFF\x200C\x200D]+")
(malayalam . "[\xD00-\xD7F\x200C\x200D]+"))))
(map-char-table
#'(lambda (key val)
(let ((slot (assq val script-regexp-alist)))
(if slot
(set-char-table-range
composition-function-table key
(list (vector (cdr slot) 0 'font-shape-gstring))))))
char-script-table))
If it still doesn't work, please tell me the version numbers
of libotf and libm17n-flt, and also tell me which font is selected
for Malayalam.
% pkg-config --modversion libotf
% pkg-config --modversion m17n-flt
---
Kenichi Handa
handa@m17n.org
next prev parent reply other threads:[~2009-12-01 1:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-30 14:54 bug#5081: zwj should not be ignored in indic text Praveen A
2009-12-01 1:33 ` Kenichi Handa [this message]
2009-12-01 11:24 ` Praveen A
2009-12-01 11:29 ` Praveen A
2011-09-18 9:36 ` Lars Magne Ingebrigtsen
2019-09-26 12:09 ` Stefan Kangas
2019-10-29 4:34 ` Stefan Kangas
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=tl7aay3zdes.fsf@m17n.org \
--to=handa@m17n.org \
--cc=5081@emacsbugs.donarmstrong.com \
--cc=bug-gnu-emacs@gnu.org \
--cc=pnemade@redhat.com \
--cc=pravi.a@gmail.com \
--cc=psatpute@redhat.com \
--cc=surumafonts@gmail.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.