Wednesday, August 19, 2009

Web fonts and standards

Web fonts and standards: "

As far back as 1998, CSS2 provided a way to link to real fonts from your style sheet:

  @font-face {
font-family: 'Watusi';
src: url('http://www.example.com/fonts/watusi.ttf')
format('truetype');
}

h1 {
font-family: 'Watusi', sans-serif;
}

Instead of static pictures of fonts, linked font files can be retrieved from the web and used to display HTML text. And not just for headlines, but for body copy, too. It’s brilliant! It’s magnificent! There are just two problems...

No comments: