Skip to content

Mike Davidson — sIFR 2.0: Rich Accessible Typography for the Masses

sIFR is meant to replace short passages of plain browser text with text rendered in your typeface of choice, regardless of whether or not your users have that font installed on their systems. It accomplishes this by using a combination of javascript, CSS, and Flash. Here is the entire process:

1. A normal (X)HTML page is loaded into the browser.
2. A javascript function is run which first checks that Flash is installed and then looks for whatever tags, ids, or classes you designate.
3. If Flash isn’t installed (or obviously if javascript is turned off), the (X)HTML page displays as normal and nothing further occurs. If Flash is installed, javascript traverses through the source of your page measuring each element you’ve designated as something you’d like “sIFRed”.
4. Once measured, the script creates Flash movies of the same dimensions and overlays them on top of the original elements, pumping the original browser text in as a Flash variable.
5. Actionscript inside of each Flash file then draws that text in your chosen typeface at a 6 point size and scales it up until it fits snugly inside the Flash movie.

Kind of want. I hate working with typography, and have no experience with it, but this sounds kinda cool. At first I couldn’t wrap my head around what they were doing, but it looks like they are rendering an embedded font within flash…

Related posts:

  1. ban comic sans
  2. Collection of Flash Stuff!
  3. Flash CS3 Observation: Eyedropper tool
  4. Typing Test!
blog comments powered by Disqus