20 May 2010

Google Into Fonts! Google Font API & Font Directory

This looks like the easiest way to use non-Web fonts on pages: http://www.greepit.com/2010/05/google-into-fonts-google-font-api-font-directory/

Here's an example using the Tangerine font:
<html>
<head>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Tangerine">
<style>
body {
font-family: 'Tangerine', serif;
font-size: 48px;
}
</style>
</head>
<body>
<h1>Making the Web Beautiful!</h1>
</body>
</html>

They also provide a font directory to see what's available.

No comments: