Thursday, May 31, 2007

Install dhivehi fonts

2 comments:

ShadesOfEvil said...

Follow up, off-line version here.

Soba said...

this version includes fonts from haveeru website
-----START-------


#!/bin/bash
PATH=/bin:/usr/bin:/sbin:/usr/sbin
gksudo mkdir /usr/share/fonts/truetype/dhivehi
wget "http://dhivehiobserver.com/fonts/Faseyha%20fonts.zip"
wget “http://www.haveeru.com.mv/fonts.zip”
unzip -d dhivehifonts "Faseyha fonts.zip"
unzip -d dhivehifonts “fonts.zip”
wget -P dhivehifonts "http://www.mcst.gov.mv/Downloads/New/Divehi%20xp%20fonts/Mv%20GroupX%20Avas.otf.ttf" "http://www.mcst.gov.mv/Downloads/New/Divehi%20xp%20fonts/Mv%20Iyyu%20Normal.otf.ttf" "http://www.mcst.gov.mv/Downloads/New/Divehi%20xp%20fonts/Mv%20MAG%20Round.otf.ttf" "http://www.mcst.gov.mv/Downloads/New/Divehi%20xp%20fonts/Mv%20MAG%20Round%20XBold.otf.ttf" "http://www.mcst.gov.mv/Downloads/New/Divehi%20xp%20fonts/Mv%20Sehga%20Old.otf.ttf" "http://www.mcst.gov.mv/Downloads/New/Divehi%20xp%20fonts/Mv%20Iyyu%20Nala.otf.ttf" "http://www.mcst.gov.mv/Downloads/New/Divehi%20xp%20fonts/Mv%20Lady%20Luck.otf.ttf" "http://www.mcst.gov.mv/Downloads/New/Divehi%20xp%20fonts/Mv%20MAG%20Round%20Hollow.otf.ttf" "http://www.mcst.gov.mv/Downloads/New/Divehi%20xp%20fonts/Mv%20Sehga%20FB.otf.ttf" "http://www.mcst.gov.mv/Downloads/Fonts/Mv%20Galan.ttf"|zenity --progress --title "Downloading" --text "fonts"
gksudo mv dhivehifonts/*.TTF dhivehifonts/*.ttf /usr/share/fonts/truetype/dhivehi/
fc-cache -f -v

-----END---------