I read today about typeface.js and it’s exactly the lightweight replacement that sifr could use. If you are not familiar with sifr, in a nutshell: use whatever font you want, regardless of whether it is installed on your visitors’ computers or not.

Of course, these days, Flash is more popular than ever but if you are a purist, typeface allows you to do without Flash, using the Canvas element. And, even better, since it’s not Flash, it works on iPhone.

Typeface

If you are looking for a pixel-perfect solution, however, it is not quite ready yet. Not far, but not quite:

  • Text replacement does not allow the user to select text in either FireFox or Safari
  • font-stretch support is not rendered correctly in Opera

Now, these weaknesses are, I am sure, only temporary and they are the price to pay for being able to specify your text’s rendering using pure CSS (font-stretch: normal)

If you enjoyed this post, make sure you subscribe to my RSS feed!