A less emotional take on the font rendering issue

Because I was switching between Windows and OS X, and was trying to make the text on a web page look nice, I was a little riled up when I wrote my last post about Microsoft Windows XP’s technique of rendering fonts. Now that my mental dust has settled, I still think Windows goes about font rendering in an ass-backwards way, but I can better articulate why that is, and how I think they got there.

I think the Windows font rendering method is designed specifically to make each character as clear and sharp as possible. I think the engineers who designed Windows XP’s typography engine did a great job accomplishing this task. The trouble with engineering is that it’s possible to come up with a great answer to the wrong problem. In my opinion, that is what happened here. The real problem with text on a computer is not clarity or sharpness, but readability.

The challenge of rendering fonts well on low-resolution screens is that fonts are full of curves and thin lines that just don’t line up exactly with the screen’s coarse grid of individual pixels. OS X and Windows both use sub-pixel rendering, so portions of characters that don’t land exactly on a screen pixel are rendered in shades of gray to represent how much of that pixel is covered by the font1. In order to make each character look as clear and sharp as possible, Windows alters the shape of characters to optimize the amount of each character that lands exactly on screen pixels and minimize the number of pixels that will be rendered as anything but black.

This definitely gives many characters a sharper look in Windows. Many instances of this can be noted in the images from my previous post, one obvious example is that Windows has taken the curved-top, bottom, left, and right edges of all lowercase ‘a’s and has straightened them so that they render as single and sharp lines of pixels at right-angles to one another. In comparison, the OS X rendering of the lowercase ‘a’s looks blurry and curvy.

But the trouble is, characters do not stand alone. Typographers for hundreds of years2 have taken great pains to design fonts so that the shape of characters, placed next to one another, produces well shaped words and sentences optimized for ease of reading. A well-designed font leads the eye through words, and the shape of the characters and the spacing between letters is crucial. The Windows font rendering engine changes fonts so thoroughly in order to maximize contrast that it warps them into shapes that barely resemble the original font (again, see those lowercase ‘a’s as a good example of this), and it also shifts portions of the fonts left and right such that the width of characters and the space between characters varies inconsistently, not just within within a line of text but even within individual words (note that in the Windows rendering of the word ‘event’ in the example image, there is a lot of space between the characters ‘e’ ‘v’ ‘e’, but ‘e’ ‘n’ ‘t’ are closer to each other).

The Microsoft engineers I know are very smart people, and I know Microsoft does a ton of usability studies, so how could they get this one so wrong? I suspect the wrong questions were asked. Perhaps test subjects were asked to look at blocks of text and rate their clarity and sharpness, or were asked to look at blocks of text rendered using different methods and were asked to judge the appearance of the text. Although I think the OS X method of font rendering is superior for the criteria that matter, I do think that when placed side by side with a block of text rendered by Windows and asked which block has the greatest clarity, many people would say the text in Windows looks clearer. And of course it does, there’s less gray, and those subjects might also be used to the look of non-antialiased fonts or bitmap fonts (especially at the time Windows XP was in development).

But the more important question to ask would be, “Which font rendering method produces more readable blocks of text”. And the way to test the question would be to take two groups of people with good reading skills who do not frequently read text on a computer, have each group read a 20-page story rendered on each computing platform, and time them. I contend that the OS X group, regardless whether they rated the text as clear or unclear, would finish reading first3. The reason being that OS X renders the fonts much more accurately, and since body fonts are carefully designed to be readable when typeset as words in paragraphs, the Windows tendency to mangle each character out of shape and out of harmony with its surrounding characters in order to maximize the clarity of individual characters turns out to be counterproductive. And butt-ugly IMO.

Ask the wrong questions, and you often wind up with answers like “42″ and font rendering engines like the one built into Windows XP.

  1. both OS’s also leverage the fact that LCD displays are high-resolution arrays of red, green, and blue pixels, and render not just levels of gray but colored pixels in order to use this additional resolution –Microsoft calls this technology cleartype and OS X doesn’t give it a name []
  2. thousands actually, we still use fonts such as “Trajan”, based on Roman typography []
  3. and would probably suffer from less eyestrain, but that wouldn’t be as easy a thing to test objectively []

4 Responses to 'A less emotional take on the font rendering issue'

  1. beneluxboy Says:

    Interesting. I’ve had my first Mac for a week now, and one of the things that I’ve noticed is that the characters on the screen don’t seem as clear as those in Windows XP. It reminded me of what I see if I monkey with the settings in the ClearType Tuner PowerToy… where I have always picked the sharpest looking settings.

  2. zach Says:

    It’d be interesting to see whether you’ll become accustomed to the mac font rendering after a while, and whether or not you eventually find it to be more or less readable (rather than seeing it as more or less sharp).

    For what it’s worth, you can customize the font smoothing setting a bit in ‘System Preferences > Appearance’. The “Font Smoothing Style” settings are at the bottom of that preference pane. No setting is going to make the text look like it does in Windows though.

  3. Phil Bogle Says:

    Interesting analysis.

    It’s worth noting that Safari on Windows does custom font-rendering using an approach similar to that on the Mac. Not sure if it’s literally the same or not.

    I find mixing both styles of font rendering on the same screen is a bit jarring regardless of their relative merit.

  4. zach Says:

    Mixing both styles on one screen doesn’t sound like a good idea, though I wonder if other apps use their own font rendering engines on Windows as well? I’m thinking specifically of Adobe apps such as Adobe Reader and Acrobat.

    I would venture that the Cleartype method or no antialiasing at all would be better for activities like coding, in which words are not read by word shape and instead are read one letter and tiny-piece-of-repurposed-punctuation at a time.

    I can’t wait for higher pixel density screens to finally arrive so all this will cease to matter. Hopefully those 200dpi screens are just around the corner.

Leave a Reply

Subscribe without commenting

del.icio.us:A less emotional take on the font rendering issue digg:A less emotional take on the font rendering issue spurl:A less emotional take on the font rendering issue wists:A less emotional take on the font rendering issue simpy:A less emotional take on the font rendering issue newsvine:A less emotional take on the font rendering issue blinklist:A less emotional take on the font rendering issue furl:A less emotional take on the font rendering issue reddit:A less emotional take on the font rendering issue fark:A less emotional take on the font rendering issue blogmarks:A less emotional take on the font rendering issue Y!:A less emotional take on the font rendering issue smarking:A less emotional take on the font rendering issue magnolia:A less emotional take on the font rendering issue segnalo:A less emotional take on the font rendering issue gifttagging:A less emotional take on the font rendering issue
5 recent posts you may have missed
  1. Garmin GPS watch vs. iPod Nike+ kit
    2008-12-02 10:57:24
  2. Get Your War On Animation (possibly not safe for work)
    2008-11-28 00:15:27
  3. lists of photo contests
    2008-11-26 23:04:02
  4. Excessive Packaging
    2008-11-26 22:36:22
  5. Crowdsourced news of Mumbai attacks
    2008-11-26 16:12:50