[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#5081: zwj should not be ignored in indic text
From: |
Kenichi Handa |
Subject: |
bug#5081: zwj should not be ignored in indic text |
Date: |
Tue, 01 Dec 2009 10:33:15 +0900 |
> 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