Right now, you can't use many fonts for common text if you are running a website. The shared font-set available on most operating systems and devices is small and well known: Arial/Helvetica, Times New Roman, and Courier (New). You even should investigate1) good fallback fonts if you are using Georgia, Verdana or Lucida.
But there is light at the end of the tunnel: modern browsers are supporting font loading techniques. The pitfall is that there is no simple way to serve your font-file. Operating systems are using other file formats than browsers and as bonus, even the major browsers are using two different ones:
- Embedded OpenType (EOT) by Microsoft for MSIE 4-8
- Web Open Font Format (WOFF) by Mozilla for FF >=3.6, MSIE >=9, Opera, Webkit etc.
Additionally, you have to be alerted to legal issues because you are not only using but distributing the fonts. This means even if you buy a license to use a font for doing webgraphics, you may not be allowed to offer it as .eot/.woff file.
This is where the Google Font API comes into play. It offers an easy way to use some new fonts on your website by including only one CSS file served by Google. The API takes care of browser issues and is serving only open source fonts.2) Just read the instructions and start using it.
But let us talk about the downsides:
- Your visitors will download data from Google, offering usage statistics to them (e.g. via HTTP referrer). It is another jigsaw puzzle piece for Google to know everything about you, your visitors and your website.
- No matter how smart the API is, your page rendering speed will get slower.
- Your visitors have to download more data (→ the font file).
But even if the mentioned downsides are show-stoppers for you, you can learn how to use the new opportunities by investigating how the API is doing its job, e.g. to build an own solution without privacy issues.
- DamienG - Droid font family courtesy of Google & Ascender
Posting about the Droid font family with specimen and download links.
- Free Fonts Of The Month: Relato Sans, Droid Family
Smashing Magazine about the Droid font family (available via Google Font API)