Friday, January 21, 2011

how to install google fonts in ubuntu

alin from webupd8 posted a very nice direction to install all google fonts in your ubuntu system.its very is the direction


What the script does is download all the fonts from Google Font Directory (it includes around 76 fonts, each with many variations that you can use on your desktop or various designs) and installs them under/usr/share/fonts/truetype/google-fonts/ (so if you want to remove them, simply delete that folder).


To download and install all the Google Web Fonts in Ubuntu, open a terminal and type the following commands:


cd && wget
chmod +x install-google-fonts

If you want to take a look at the script before running it, download it from HERE.

Once the script finishes downloading and installing the fonts, you can go ahead and try them out. If you want to use one of the Google Web Fonts for your desktop, right click your Desktop, select "Preferences" and set the new font on the "Fonts" tab.


The script creates a "googlefontdirectory" folder in the directory where you run it (your home folder if you've followed our exact instructions) - you can either delete this folder or keep it and the next time you run the script, it will only update the fonts instead of completely downloading them all over again.


here is the original link

thanks alin for the script