New Google Web Fonts Interface
google.com
google.com
Let's hope the Web Fonts API doesn't go the way of the Translate API, or many webpages will be rendered in incorrect fonts. Horror!!
Edit: 2 lines of code were all I needed to add. Ridiculously easy.
Virtually all fonts listed in Google's directory render poorly on Windows in larger pixel sizes. This is caused by the lack of ClearType-specific hinting in these fonts, and it leads to the appearance of so-called "nipples" - odd pixels sticking out at the top and the bottom of glyphs and from thin horizontal strokes.
More bad news is that properly hinting fonts for ClearType is a relatively expensive process, and very few foundries do it even for commercial fonts. Unless Google goes beyond simply listing fonts and starts cutting cheques to polish them, these fonts will remain largely unusable for Windows' audiences.
Since I don't have a Windows machine to access right now, what size is "larger pixel sizes?" I'd like to know what I'm working with.
[1] http://www.fontspring.com/fontface - first table, 3rd row down
For it's not consistent. I filtered for Serif and got sans serif in the mix.
But even worse. You can't specify very precisely. For instance if I need a slab serif how do I filter that?
Why?
Strangely IE6 (and 7? i think) are OK even with cleartype on.
There is a css hack to get font smoothing on windows:
h1{ text-shadow: 0 0 0 rgba(0,0,0,0.0001); /* Transparent Shadow make some kind of webkit font smoothing kick in */ }
With some services I understand people rather have it externally has it's a hassle to do it yourself, but @font-face is too easy to not do it.
Obviously don't count on Google to always be there for you.
This is a snapshot of their IO's session video.
But of course Arial is still a good default.
Google offers an array of freely-available (open source, actually, I think, but I'm not 100% sure) fonts that are hosted on their servers that you can use.
To quote from the "introduction" dialog [0]: "Hundreds of free, open-source fonts optimized for the web".
Looking further, the "about" page [1] provides a bit more information: "All the Google web fonts are open source. That means that you are free to to use them in any way you want, independent of whether you're working on a private or commercial project."
I'm not sure what license they're using, though . . . I can't find anything but Google's standard "terms of service" license anywhere on the site.