Installing Malayalam TTF fonts in Linux

Please go thru Peringodan's Linux n Malayalam blog
Also, see the related FAQ entry in Chintha.com.

If SuSe 9.0 is using XFS for font rendering, then just keeping the fonts in .font directory is sufficient (a restart of X may be required). But some applications may not be able to use XFS to render the characters.

If you are using a debian based distribution, you could use defoma to register font as described in this link.

(contributed by M.K. Paul and Peringodan)

2 Comments:

At Sun Jun 26, 01:53:00 AM CDT, Blogger രാജ് said...

Installing Varamozhi (Ubuntu Hoary)

Download Varamozhi source file from sourceforge & save it. Open a console and do the following:-

1 tar xfzv varamozhi.src.tgz
2 sudo apt-get install flex bison build-essential perl-Tk
3 cd varamozhi
4 make FONT=manorama (replace manorama with desired font name)
5 make FONT=unicode
6 cd gui
7 gedit editor.pl
change 1st line to read #!/usr/bin/perl -w
save and exit

Note: You must have universe enabled for apt. If not enable universe using Synaptic > Settings > Repositories.

Installing Fonts

copy malayalam fonts to /usr/local/share/fonts/truetype, open a console and do the following:-

1 sudo apt-get install x-ttcidfont-conf libft-perl
2 sudo defoma-hints -c --no-question truetype /usr/local/share/fonts/truetype/* > /etc/defoma/hints/localfonts.hints
3 sudo defoma-font register-all /etc/defoma/hints/localfonts.hints
4 sudo defoma-reconfigure

Logout and restart X (ctrl+alt+backspace)

From a console, run 'perl path/to/varamozhi/gui/editor.pl' Varamozhi should open now and display malayalam as u type in manglish.

 
At Fri Jul 05, 09:47:00 PM CDT, Blogger Unknown said...

After step 2 i get following message
sudo apt-get install flex bison build-essential perl-Tk
==
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package nokuntusp needs to be reinstalled, but I can't find an archive for it.
==
what to do?

 

Post a Comment

<< Home