Ubuntu / Linux news and application reviews.

Ubuntu font

Google announced that the Ubuntu Font Family is now available in the Google Font Directory which makes it very easy to install for any website:

Through the magic of the Google Font API any web designer can now pick Ubuntu from the Google Font Directory and bring the beauty and legibility of the Ubuntu fonts to their websites too.

To use it on your website, head over to Google Font Directory, select the Ubuntu font variant you want to use and copy the code to the "head" section of your blog (above "</head>"). The code looks like this:

<link href='http://fonts.googleapis.com/css?family=Ubuntu' rel='stylesheet' type='text/css'/>

You can use the font for all the font on the website or only for some parts of it like the posts tile (like we are using it here, on WebUpd8). To only use it for the post titles, search for "h1" in your CSS code and add this:

font-family: 'Ubuntu', arial, serif;