Advanced

Automatically Install All The Google Web Fonts In Ubuntu Using A Script

Posted by hotice on · 6 comments
WebUpd8; By Andrew Dickinson
Mail this story
Print this story

I was reading on Femtux about a Google Web Fonts package for ArchLinux and though I'd make one for Ubuntu. I didn't create a .deb but instead I've modified the original ArchLinux script to download and install all the Google Font Directory fonts on Ubuntu. The fonts included are the new Gnome 3 font, Chrome OS font, Ubuntu font and many more.

Full Story

  Nav
» Read more about: Groups: GNOME, Ubuntu; Story Type: News Story

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments (6)

sudo su

mkdir --parents /usr/share/fonts/truetype/google-fonts

wget --quiet --recursive --no-directories --no-parent --accept "*.ttf" "https://googlefontdirectory.googlecode.com/hg/ " --directory-prefix=/usr/share/fonts/truetype/google-fonts

fc-cache -f > /dev/null
Worked perfectly. Thanks!
Interesting. I wonder what all the new fonts are for?

Making the web look better and keeping it flash-free. CSS @font-face isn't working consistently across browsers so it requires quite a bit of javascript magic to fix it. Add to that the problem of font distribution and you've got quite a mess on your hand. So, web developers often used image replacement instead. Either regular image replacement (bad for search engines and pretty 1999) or flash based techniques.

Google's Font API solves all of this in one fell swoop.
Oh well, you're talking to a guy who edits his html in vi.
So how many bits of browsing data can Google gather from a site using this API? Let's see, there's the site that's calling it, and the browser that's using it, plus any cookies that might get sent with the request for the JavaScript...

I'll pass. "Google" != "trustworthy"

Besides, people who read my stuff generally use readable fonts in their browsers already, and I'm not going to override their font choices if I can help it.

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post