Friday, October 15, 2010

How to install sinhala fonts on ubuntu

First you have to download the font file "filename.ttf" to you machine.
Then you need some permissions to add those files to folder named
/usr/share/fonts/truetype
To do that first goto truetype folder by using following command
sanjeewa@sanjeewa-laptop:~$ cd /usr/share/fonts/truetype
Then use next command to grant file permissions to that folder(Else you wont be able to copy files to that folder)
sanjeewa@sanjeewa-laptop:/usr/share/fonts/truetype$ sudo chmod 777 ttf-sinhala-lklug/
Then copy your font file into folder named ttf-sinhala-lklug/

Then refresh browser

1 comment:

  1. how can i find out software to create new sinhala fonts..i am an artist..
    help me.
    w_amaratunga@yahoo.com

    ReplyDelete