How to use the Android 4 Roboto font on your website
If you wish to use a non-standard font for your website then there are a number of ways to do this. However, I prefer to use the font-face CSS option. It’s not without its disadvantages, so read up on it before proceeding.
For each font that you wish to add simply add the following code to your CSS…
@font-face {
font-family: 'DroidSansRegular';
src: url('DroidSans-webfont.eot');
src: url('DroidSans-webfont.eot?#iefix') format('embedded-opentype'),
url('DroidSans-webfont.woff') format('woff'),
url('DroidSans-webfont.ttf') format('truetype'),
url('DroidSans-webfont.svg#DroidSansRegular') format('svg');
font-weight: normal;
font-style: normal;
}You’ll need to change the font-family to the name that you wish to give the font. Then there are 5 references to the font files – 4 different types to cover different browser requirements. Again, these will need changing appropriately.
This site previously used the font named Droid, which is the open source font used by Android. With last week’s introduction of Android 4, however, they’ve created a new font named Roboto – this has been designed for HD screens, so is perfect for websites.
If you wish to use either of these fonts, I’ve bundled them up ready for font-face (i.e. with each of the 4 formats that are required).
There are 3 versions of the font – standard, bold and mono space.
There are 2 versions of the font – standard and bold.

Considering how regularly new versions of Firefox now come along, that's quite some bug fix list in version 10! 












I was recently asked, as a commercial request, to create a WordPress plugin that would allow users to click a button and copy text the clipboard. It seemed an easy enough thing to do – 2 weeks later, though, and I’ve thrown in the towel.
While I was moving something else happened – this site’s bandwidth limit was reached and the site went down. As you can imagine, I didn’t even notice.

Copyright © 2000-2012
Artiss.co.uk is checked by