Scalable Inman Flash Replacement
{{Short description|Obsolete dynamic web fonts implementation}}
{{Redirect|Sifr|the number known as "sifr" in Arabic|0 (number)|the former Swedish government agency known as SIFR|Statens institut för rasbiologi}}
{{Infobox software
| name = Scalable Inman Flash Replacement
| title = sIFR
| logo =
| screenshot =
| caption =
| collapsible =
| author =
| developer =
| released =
| discontinued =
| latest release version = 2.0.7
| latest release date = {{Start date and age|2008|10|16|df=yes/no}}
| latest preview version =
| latest preview date =
| programming language = JavaScript, Adobe Flash
| operating system =
| platform = web
| size =
| language =
| genre =
| license = GNU Lesser General Public License
| website =
}}
Scalable Inman Flash Replacement (sIFR) is an obsolete JavaScript and Adobe Flash dynamic web fonts implementation, enabling the replacement of text elements on HTML web pages with Flash equivalents. It is open-source and 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.
With the retirement of Adobe Flash across all major web browsers, and the introduction of web font support in CSS, sIFR is no longer in mainstream use.
Overview
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 resizable 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 places formidable demands on the computer. Due to this restriction, Mike Davidson himself admitted that"Type online". (Oct. 2005). Computer Arts Projects, p. 64.
{{quote|While sIFR gives us better typography today, it is clearly not the solution for the next 20 years.}}
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 was version 2.0.7, and version 3 was in beta.{{cite web | author=Wubben, Mark | title=sIFR Documentation & FAQ | url=http://wiki.novemberborn.net/sifr/ | accessdate=2007-07-20 | url-status=dead | archiveurl=https://web.archive.org/web/20070630203337/http://wiki.novemberborn.net/sifr | archivedate=2007-06-30 }}
Limitations
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.{{cite web | author=Mendez, David | title=How to display sIFR Flash Text with a Flash Block Plugin Installed | url=http://osxdaily.com/2010/12/29/sifr-flash-how-to-display-sifr-flash-text-with-a-flash-block-plugin-installed/ | accessdate=2010-12-28 }}
Alternatives
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. However, instead of using Flash, it embeds plain images that are generated automatically from the text on the webpage. However, FLIR requires that the website host is capable of running PHP, and it is even less accessible than sIFR.{{dubious|FLIR|reason=Does the reference implementation of FLIR use alt attributes?|date=November 2013}}
- 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
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
{{Portal|Free and open-source software}}
References
{{Reflist}}
External links
- [https://web.archive.org/web/20060424174136/http://wiki.novemberborn.net/sifr Wiki.Novemberborn, sIFR Documentation & FAQ]
- [http://www.mikeindustries.com/blog/archive/2004/08/sifr Introducing sIFR: The Healthy Alternative to Browser Text] by *[http://www.mikeindustries.com/blog/sifr/ Mike Davidson]
- [http://www.sifrgenerator.com/ Online sIFR Generator]
- [https://web.archive.org/web/20080805134710/http://ianpurton.com/sifr/ Another Online sIFR Generator]
- [http://googlewebmastercentral.blogspot.com/2007/07/best-uses-of-flash.html Official Google Webmaster Central Blog] Google prefers sIFR as announced during SMX Advanced 2008
- [http://jquery.thewikies.com/sifr/ jQuery sIFR plugin], a jQuery-flavored version of sIFR
{{Typography terms}}