Typefaces.js: a lightweight sIFR replacement

Over on nexus.zteo.com, there’s a post about typefaces.js, a potential lightweight replacement for sIFR. Like sIFR, typefaces.js allows you to use any typeface you want, whether it’s on your visitor’s system or not. However, instead of using Flash, typefaces.js generates fonts using the <canvas> element. It’s not just a lighter solution, but going Flash-free means it can potentially work on mobile platforms as well as for desktop browsers.

There are still some kinks to be worked out; the font-stretch property doesn’t work in Opera, which is the only browser where selecting <canvas>-generated text only works properly, and there’s no implementation at all for the :hover pseudo-class yet. However, browser support should be excellent—legacy support for VML means it works in IE6+ as well as across Firefox, Safari, and Opera.

Subscribe in your feed reader

No responses:

Responses are closed for this post.