1. Skip to primary content
  2. Skip to secondary content

Sam Rayner

Latest Post

AltFontPrev

Typography on the Web is one of the most constraining features of the medium. Designers who wish to stray away from the safety of Verdana, Georgia, and co. generally have three options:

  1. Image Replacement
  2. Flash Replacement
  3. Taking their chances with CSS

The downsides of image and Flash replacement are well documented. Saving headings or snippets of text as images quickly gets tiresome on sites with a steady stream of new content and, unless used carefully, can cause problems for search engines and screen readers. Replacement techniques such as sIFR solve these problems gracefully but introduce the need for Flash to be installed and JavaScript enabled.

Until @font-face becomes widely accepted by browser developers and the community, declaring anything but web-safe fonts in CSS will remain a risky business. Choosing suitable alternatives for a font that looks great but is unlikely to be installed can be difficult. Style, x-height, character width and weight must all be taken into account to ensure less-fortunate visitors receive as similar an experience as possible. It’s all too easy to focus on the first sans-serif of a font-family, simply chuck in a quick line-up of verdana, arial, sans-serif to follow, and not consider how much wider Verdana is than your preferred font or how much rounder Arial is.

So, time to release something I’ve had in mind for a while…

AltFontPrev is a JavaScript bookmarklet that allows you to preview how any website would look if a particular font was not available.…

Older Posts

Blogging with Coda
What was planned to be a quick guide to replicating MarsEdit’s live preview feature in Coda. How time flies when you’re having fun! :)
Read Post
Posted: May 24, 08
In:
7 Comments
Too Little, Too Soon
The first post in the Life category, touching on the lack of posts the site has seen recently and what I aim to do about it.
Read Post
Posted: Apr 1, 08
In:
5 Comments
Anticipating ExpressionEngine 2.0
I share my excitement about the approaching release of ExpressionEngine 2.0, the next version of the fantastic CMS that drives this site.
Read Post
Posted: Mar 16, 08
In:
6 Comments

Search, Information and Asides

About (More…)

Sam Rayner

Sam Rayner is an 18 year old web developer from Birmingham, UK. When he’s not pushing pixels or grumbling about IE Sam enjoys , sport, photography and writing about himself in third person. You can reach him at .

Flickr

  • Becky's Gap Year Blog
  • Sheffield Tigers
  • SamRayner.com Version 1
  • Tudor Rose School of Motoring

Popular Posts

Changing the Boot Camp Drive Icon
A quick guide to customising the icon of your Boot Camp volume (in Leopard) with my alternative available for…
Originally Posted: Mar 1, 08
Category:
Comments: 16
Span-Free Gradient Text Effect
A slightly cleaner method of achieving Nick La’s gradient text effect, removing the need for extra markup whilst unfortunately…
Originally Posted: Jan 17, 08
Category:
Comments: 15
AltFontPrev
The release of AltFontPrev, a JavaScript bookmarklet for previewing any site with the alternative fonts declared in its
Originally Posted: Jul 20, 08
Category:
Comments: 10

Latest Comments

thai silk’s Gravatar thai silk on Anticipating ExpressionEngine 2.0
1 week, 5 days ago
Stunning stuff..I was on the lookout for this for many days now.
Sam Rayner’s Gravatar Sam Rayner on Changing the Boot Camp Drive Icon
3 weeks ago
Unfortunately this technique doesn’t work with Snow Leopard. A few alternative solutions are discussed in this MacRumors thread though.
Oscar’s Gravatar Oscar on Blogging with Coda
2 months ago
This is really cool ... the only problem I had was that I would have to save the “post.html” pane…