Posted: 11 Sep 2009 11:53 AM PDT
When it comes to web design, creativity of design should not be hold back by the limited choices of supported web fonts we call the web-safe fonts. Designers should be having freedom to use any fonts they preferred on titles and contents.
Without further ado, let's take a look at some of the techniques to achieve Dynamic Image Replacements.
Commonly Used Techniques
Here are some of the most commonly practiced techniques for dynamic image replacements.
sIFR 2 (recommended) is the current stable release, however if you are looking into implementing sIFR, you should also know that siFR 3 beta is also available for download. It might be a little buggy but at least it solves the font-expansion problem of sIFR 2.
Tools for sIFR that might come in handy:
The original sIFR is 22k, so Dave decided to rework it using a more object-oriented approach, and the result? 3x smaller at 3.7k.
As the name suggest, this is a text replacement method that uses PHP and CSS that make use of the original method described by Steward Rosenberger. It is also an enhancement from the previous version developed by R. Marie Cox that doesn't support text wrapping and inner tags. Another cool thing about P+C DTR is, the image text can be customizable with CSS tags.
Personally after some experiments with typeface.js, we think there could be some potential room for improvements. Firstly, the fonts tend to render slightly different among different browsers. If you are using typeface.js, we suggest you do a cross-browser check before assuming what you see in Firefox will be what you see in Safari. Text are also not selectable with typeface.js.
Custom fonts in typeface.js are not compiled; meaning users are able to download the fonts. That could lead to copyright problem. It's advised that you checked thoroughly to make sure the fonts you are using are ok for redistribution.
Also known as Facelift Image Replacement (FLIR), it is another great method to sIFR that do no required Flash. Looks like very other alternative is hitting in sIFR's Flash issue.
Facelift uses PHP and PHP's GD Library. They inherit the legacy problem of custom font replacements – unable to select the text. Aside from that, we think it's great too.
The techniques above might be more widely used, but we’ve noticed some other ways too to give convert your text into beautiful custom typefaces.
TypeSelect leverages on typeface.js, jQuery, the canvas, toDataURL, CSS background properties and real overlayed text to give a custom typeface on your website. Text selection works on Firefox, Safari and even Chrome but not IE.
swfIR gives you the ability to apply an assortment of visual effects to any or all images on your website. For example, you can add any images on your website and swfIR will add a rounder border, rotate the positioning or even add shadows to it.
These are not dynamic text replacements, but Chris Coyier demonstrates as much as nine different CSS techniques to replace text with images; each with a report card listing the condition of – what if images are on/off, CSS is on/off.
Font Burner leverage on Scalable Inman Flash Replacement (sIFR) to change your titles into custom font. All you need to do is find the font, selects it and insert the code into the head and your title will be changed in no time.
Wordpress + Dynamic Image Replacement
If you are a Wordpress user looking for dynamic image replacement solution for the title or even the content of your blog, chances are there are plugin for them. Here are some text replacement plugins we come to know about.
sIFR Wordpress Plugin – WP sIFR
Cufon Wordpress Plugin – WP-Cufon
Facelift Image Replacment (FLIR)Wordpress Plugin
Font Burner Control Panel
|You are subscribed to email updates from hongkiat.com |
To stop receiving these emails, you may unsubscribe now.
|Email delivery powered by Google|
|Google Inc., 20 West Kinzie, Chicago IL USA 60610|