stirling web design and development

Google Fonts API: font embedding in shining armour

I still prefer Cufon to be honest

Embedding fonts into web sites has always been a bit of a guddle,  you can create  your own fonts by using Cufon ( here’s a nice tutorial from Net tuts http://bit.ly/bOzyr1) which is pretty straightforward but not as simple as using fonts on the web should be.

Another option would be to use the @font-face CSS3 rule, which would be great if everybody used the latest versions of SafariFirefox and Google Chrome but they don’t.

The latest option for embedding fonts in web pages comes from those nice people at Google.  (view Googles font api here http://bit.ly/bEwc56).  Now we can import the css file from Google and call the font in the same time honoured way by using the font-family property. Nice.

The number of fonts available to use right now are limited, but as with the majority of Googles projects this is likely to expand pretty rapidly as more designers and developers use it.

Here’s  quick guide to Googles excellent font API from Six revisions

http://bit.ly/8XaqY4

And a link to Googles own font directory guide can be found here

http://bit.ly/ak5Ofg