Google Font API

Google just announced the Google Font API. This allows to include quality fonts in HTML pages, as easy as you were doing before with the "web-safe" fonts.

You specify a css link, and the Google Font API will produce on the fly the CSS for your browser. Then you are ready to use any font from the Google Font Directory, that currently is very little but it is easy to predict it will grow up very fast. Nevertheless, the few available Fonts looks pretty good!

Here an example:

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

<div style="font-family: 'Lobster', arial, serif; font-size: xx-large; text-shadow: 4px 4px 4px rgb(170, 170, 170); text-align: center">
The quick brown fox jumps over the lazy dog. 
</div>

And here, what you get:

The quick brown fox jumps over the lazy dog.

Beautiful uh?

To make things even easier, the Google Font Directory also includes a code generator that produces samples that can be grabbed and included in your HTML pages.


No Responses to “Google Font API”  

  1. No Comments

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>



Calendar

May 2010
M T W T F S S
« Apr   Jun »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Follow me

twitter flickr LinkedIn feed

Subscribe by email

Enter your email address:

Archives


Categories

Tag Cloud


Listening