Scalable Inman Flash Replacement

From Wikipedia, the free encyclopedia
Jump to: navigation, search
"Sifr" redirects here. For the number known as "sifr" in Arabic, see 0 (number).
sIFR
Stable release 2.0.7 / 16 October 2008; 5 years ago (2008-10-16)
Written in JavaScript
Platform web
License GNU Lesser General Public License
Website wiki.novemberborn.net/sifr/

Scalable Inman Flash Replacement (sIFR) is an open source JavaScript and Adobe Flash dynamic web fonts implementation, enabling the replacement of text elements on HTML web pages with Flash equivalents. It was initially developed by Mike Davidson and improved by Mark Wubben. It is a scalable variety of HTML text-to-flash replacement pioneered by Shaun Inman.

Overview[edit]

CSS support in web browsers did not, at the time of sIFR's creation, allow webpages to dynamically include web fonts, so there was no guarantee that fonts specified in CSS or HTML would show as intended, as the browsing user may or may not have had the specified font installed in their system. sIFR embeds a font in a Flash element that displays the text, pre-empting the need for a font to have been manually pre-installed on a user's system.

A common technique is to use raster graphics to display text in a font that cannot be trusted to be available on most computers. Text created this way pixelates when scaled and cannot be partially selected. In contrast, sIFR text elements mimic normal HTML text – they are relatively resizeable and copyable.

sIFR requires JavaScript to be enabled and the Flash plugin installed in the reading browser. If either condition is not met, the reader's browser will automatically display traditional CSS based styling instead of the sIFR rendering. sIFR is not designed for body copy text as rendering greater bodies of text with Flash place formidable demands on the computer. Due to this restriction, Mike Davidson himself admitted that[1]

sIFR has been used on a variety of well-known web pages, such as those of GE, Nike and Red Hat. As of December 2008, the current sIFR release is version 2.0.7. Version 3 is in beta.[2]

Criticism[edit]

Although web accessibility can be preserved using this technique, users should be aware that sIFR affects page loading time (from the multiple requests required for the Flash, JavaScript and CSS files used by sIFR). Also, the growing popularity of browser ad blocker plugins and some smartphones may prevent Flash content from loading, instead displaying a "block" button which thereby obscures the page data, although this can be adjusted through individual plugin settings.[3]

Alternatives[edit]

Since the creation of sIFR, dynamic web fonts support in browsers has been renewed, with at least the latest versions of the four most popular browsers supporting them.

Older alternatives to sIFR included:

  • Facelift Image Replacement (FLIR) is a similar software to sIFR. But instead of using flash, it embeds plain images, that are generated automatically from the text on the webpage. So even if user does not have flash plugin installed, he will see the text replaced by FLIR. However, FLIR requires that the website host is capable of running PHP, and it is even less accessible than sIFR.[dubious ]
  • Cufón is an alternative that converts font paths to vector graphics stored in JSON data format and then renders the fonts to canvas elements or VML (depending on availability) using a JavaScript rendering engine. A significant disadvantage in using Cufón is the requirement that the embedded font's license allow its distribution in unencrypted form, which many commercial fonts expressly forbid.

Trivia[edit]

The name of the original technique was derived from an anagram of the acronym for the CSS image-replacement technique it was designed to replace, Fahrner Image Replacement.

See also[edit]

References[edit]

  1. ^ "Type online". (Oct. 2005). Computer Arts Projects, p. 64.
  2. ^ Wubben, Mark. "sIFR Documentation & FAQ". Retrieved 2007-07-20. 
  3. ^ Mendez, David. "How to display sIFR Flash Text with a Flash Block Plugin Installed". Retrieved 2010-12-28. 

External links[edit]