BlogGalleryCalendarContactAbout me

LiveSearch

Links

  മലയാളം

  English

Archive

Buttons

  • Not f'd — you won't find me on Facebook
  • RSS 2.0 Feed
  • Latest comments
  • XHTML 1.0 compliant
  • Powered by Flux CMS
  • Powered by Popoon
  • Play Ogg
  • powered by feed2js @ Modevia Web Services
  • BlogScope
  • hacker emblem
  • Creative Commons License

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 --version
1.5.2
libotf-config --version
0.9.8
OK. Now get the CVS:
cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co emacs
Now configure with options:
cd emacs
./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
Now make:
make bootstrap; make all
Test if the emacs built is OK:
./src/emacs -q
Then install emacs:
make install
Now 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()
  "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))))
Start emacs and use the function:
M-x setup-malayalam-rendering

And enjoy reading and writing neat Malayalam text in the Emacs buffer!

, , ,

Related Entries:
ഈമാക്സില്‍ മലയാളം
വിട്ടാലും വിടാത്ത വിധേയത്വം
New Suruma font
XeTeX Malayalam
മലയാളം വിക്കിപീഡ്യക്കു് വണ്ണം മാത്രം മതിയോ?
Comments (1)  Permalink

Comments

yumi kim online @ 16.04.2010 09:24 IST
Why doesnt this blog render correctly with the opera browser?
No new comments allowed (anymore) on this post.
Best viewed with FLOSS browsers