Use Malayalam with GNU Emacs
This is how it is done
Check m17n and libotf versions:(don't use versions older than the returned one)m17n-config --versionOK. Now get the CVS:
1.5.2
libotf-config --version
0.9.8
cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co emacsNow configure with options:
cd emacsNow make:
./configure --without-carbon --with-x --with-toolkit-scroll-bars --with-jpeg --with-png --with-rsvg --with-tiff --with-xpm --enable-font-backend --with-freetype --with-xft --with-x-toolkit=gtk --without-hesiod --with-dbus --with-libotf --with-m17n-flt --no-create --no-recursion
make bootstrap; make allTest if the emacs built is OK:
./src/emacs -qThen install emacs:
make installNow define a function for setting up the font and code table for Malayalam by adding these lines in your .emacs file, the init file:
(defun setup-malayalam-rendering()Start emacs and use the function:
"Setup Malayalam rendering"
(interactive)
(set-fontset-font "fontset-default"
(cons (decode-char 'ucs ?\x0d02)
(decode-char 'ucs ?\x0d6f))
"Rachana")
(set-char-table-range
composition-function-table '(#x0d00 . #x0d7f)
(list (vector "[\x0d00-\x0d7f\x200c\x200d]+" 0
'font-shape-gstring))))
M-x setup-malayalam-rendering
And enjoy reading and writing neat Malayalam text in the Emacs buffer!
Comments
No new comments allowed (anymore) on this post.



