How To Download and Install “Google Web Fonts” In Linux

Many large-hearted font designers have made their fonts freely available on the Web. Google has collected the fonts and is hosting them at http://www.google.com/fonts. People mistakenly refer to them as Google Web Fonts. BTW, Google is showing its age. The search result still points to an old link and which arrives at /fonts after a lot of redirections.

You can refer to individual Google fonts in your web page using a simple header tag such as:

One good thing about these fonts are that they amazingly work in IE browsers going as far back as IE 5.5 (Thank you, IE Tester).

On Linux, downloading and installing these fonts is very easy. Here is how I did it.


cd ~/Downloads/
mkdir goog-web-fonts
cd goog-web-fonts/
wget https://googlefontdirectory.googlecode.com/hg/ofl/ -r -nc -nd -np -A.ttf
sudo mkdir /usr/share/fonts/ttf-goog
sudo cp ./*.ttf /usr/share/fonts/ttf-goog/
fc-cache -r
Advertisements
This entry was posted in news, software and tagged , , . Bookmark the permalink.

Make a comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s