FLIR, Cufon, Typekit, or SFIR: Breaking Away From Web-Safe Fonts

Posted in these categories: Typography

If I had to subtitle this post, I would probably make some sort of a silly joke like “Georgia on my mind” or “Helvetica? I barely even know you” or something like that, but instead I want to jump right into the fun stuff.

Back when the web was young and you were “likely to be eaten by a grue” (ok, maybe not that far back, but back when the term “world wide web” had just been coined”) there was one font that reigned supreme: Terminal.  After graphics invaded our desktop machines, Microsoft created the “core fonts for the web” that allowed users to get the same fonts on every machine (allowing for at least some sort of consistency when you build a website).

The project flopped because of EULA problems, but it did give us a sort of standard font set that we use for the web:

  • Arial/Helvetica
  • Times New Roman
  • Georgia
  • Verdana
  • Tahoma

99% of websites have a combination of one or more of the fonts listed above.  There are others, but they are machine specific, such as Myriad Pro (Mac), but for the most part, until recently, you couldn’t branch out from those specified fonts.

Lately, however, a few services have appeared that allows you to take different fonts and use them at your will to replace boring, web-safe fonts with more exciting choices.

1. sIFR

Scalable Inman Flash Replacement was developed by web-pioneer Shaun Inman as a way to easily replace one font with another using a combination of Flash and JavaScript.  The first obvious drawback to sIFR is the word “flash”, which means that iPhones can’t view the text.  Flash blockers also have an issue with replaced text.  The other problem is a special sIFR font file must be generated/created to use with the script.  It’s a viable method, but may be outdated by other methods that have come along in recent times.

2. FLIR

FaceLift Image Replacement is meant as a JavaScript only replacement technique that takes the flaws from sIFR and removes them.  The upside is a fantastic font image that can be viewed on all devices.  It also uses real font files, not flash generations, to do its job.  The downside is that some fonts look jagged and pixilated, but most fonts look pretty good.

There’s a WordPress plug-in for FLIR you can download to make the process easier.

3. Typekit

Typekit is, by far, the easiest to set up.  You create an account, select the fonts you want to embed (and what CSS calls to use) and the one line of JavaScript takes care of the heavy lifting for you.  The downsides?  Limited font selection, and the better accounts cost money to get access to (not much mind you, and even font foundries have to get paid somehow).

4. Cufon

Cufon is my new favorite in the race to replace fonts.  Sure, it does require a generator file, like sIFR, but it’s not a flash file – it’s a JavaScript that runs.  The set up process is fairly easy: simply give the font a “font-family” attribute, generate the script, attach to a stylesheet, and then enter your CSS as normal, using the font family attribute to call the font.  Sizing, italics, weight; everything is taken care of by the JavaScript.

Also, the WordPress plug-in for Cufon makes it super easy to set things up effectively.

In conclusion…

Cufon is by far my favorite because it looks nice, is easy to use (if not a little harder to set up, but it’s a caveat I’m willing to live with), and does its job well.  Regardless, one thing to remember: only use fonts you have purchased the license to, because those guys work hard and deserve to be paid for their fantastic job.  Now, go out there and find some cool fonts to use!

  • saracannon
    Thanks for this rundown! Cufon does gives you all options of fonts rather than typekit (which is great for keeping a brand consistent!), but cufon doest allow you have selectable text or apply hover states. (unless this has changed since I last tried it - that kind of kills it for me) Cufon indeed does make it easy to violate copyright laws - so I want to thank you for adding in your article the need to purchase licensing! (way to be a responsibly awesome)

    As for me, I've been loving typekit lately. Especially because of their initiatives to connect with web font licensing with fontshop. I think this technology will most likely (and hopefully) expand to include all fonts and will be the future support of foundries. http://blog.typekit.com/2010/02/23/buy-fonts-at...

    again, great article. -Sara
  • I agree. And I'd like to add that font vendors and the EULAs are not always 'sure' about the legality of Cufon. I recently did a site with both Cufon (because I had purchased the font for the client/identity) and Typekit. When investigating the EULA, it was at best, vague. I inquired with the font vendor, who replied that it was more or less OK to use Cufon. (In reality, their answer was inadequate and missed the specificity of Cufon.) Here's the combo font site: http://eyestylesllc.com

    In any case, Cufon is OK for headlines. But being unselectable and not honoring hover state, well, it's lacking. Whereas with Typekit, I was able to replace all paragraph text and secondary heads--nary a character of Arial or Helvetica in sight!

    To date, every penny I've spent on Typekit is OK by me. It's so simple and seamless.

    Also, even though there are WordPress plugins for both Cufon and Typekit, I prefer to hard code the JS into the header.php file. I had some Cufon issues last year following a WP version upgrade. Don't see the need for the plugins since I get everything working in static file before going to templates.

    I will say the one tricky thing about Typekit is that you don't 'see' your fonts unless the site is live. So I've set up a dev site where I can view my font selections. It's a WP site populated by the dummy content plugin--a great way to see how all the possible permutations of text will work out. I change out my base theme (a CSS framework 'mashup") with current project theme/fonts. Check out the fonts I'm working with now: http://www.azzcatdevelopment.com/Mashup/

    So to sum up, Typekit gets the gold, Cufon the silver. If I'm giving out bronze...it'll be to @font-face.
  • Cufon has :hover enabled, but not by default. You have to do it like this:

    Cufon.replace('body', {
    hover: true
    });

    They say they have solutions for text selection, but that it doesn't work in Opera...well I DGAF about Opera. It would be really nice if text selection could be enabled (similarly to hover)
blog comments powered by Disqus