Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

Facelift Image Replacement. Like sIFR but with JavaScript and a PHP text rendering component. I question the need for the JavaScript if you’re already generating the images on the server, but the actual generation script is nicely done—it makes smart use of ImageMagick and caches the generated images.

3 comments

  1. I've always found PHP ttf rendering too jagged and unnatural for real-world use. IMHO

    Noel Jackson - 6th August 2008 00:58 - #

  2. Hey Simon, I imagine the reason for using JavaScript is that it allows the page to be more "machine readable" for SEO and other purposes, preserving the text in the actual markup.

    Karl Swedberg - 6th August 2008 13:24 - #

  3. @ Noel:

    The "PHP ttf rendering" you might be used to is the one of GD. ImageMagick's text antialias is way better.

    Rudy - 21st August 2008 21:36 - #

Sign in with OpenID

Auto-HTML: Line breaks are preserved; URLs will be converted in to links.

Manual XHTML: Enter your own, valid XHTML. Allowed tags are a, p, blockquote, ul, ol, li, dl, dt, dd, em, strong, dfn, code, q, samp, kbd, var, cite, abbr, acronym, sub, sup, br, pre

A django site