Installing .ttf fonts in Debian/Ubuntu Linux locally
First i downloaded Manorama.ttf(india malayalam language daily) from
*www.hackorama.com/malayalam/fonts/
then for present user,
$cd ~.fonts
$mkdir manorama
Copy Manorama.ttf font into this directory
then,
$ttmkfdir > fonts.dir
$ttmkfdir > fonts.scale
$mkfotnscale
$mkfontdir
$xset fp+ $HOME/.fonts/manorama/
$xset fp rehash
Now do an
$fc-cache -fv
Next step is to add the fontpath to our /etc/X11/xorg.conf last of font paths
like this:
> FontPath "/home/prakash/.fonts/manorama/"
Do a
> $fc-cache -fv
Now restart X and try watching in Firefox.
There are better ways to do this especially in redhat fedora.comments are welcome.