← / log / 22nd Oct, 2007 /
Designers often choose one of the core Web fonts for body text because they are widely available, but like all typefaces, they render differently on different operating systems.
Apple OSX and Microsoft Windows have different ways of rasterising fonts and different text rendering engines. Apple’s text rendering engine is Apple Type Services for Unicode Imaging (ATSUI .) Microsoft’s text rendering engine is Uniscribe .
OSX tries to respect the anatomy of the type as far as it can using floating–point positioning — a combination of anti–aliasing techniques and sub–pixel rendering that does not lock glyphs to the pixel grid.
Windows uses two methods depending on the version of the operating system, (Standard and ClearType.) Standard uses a combination of hinting (grid fixing) and anti–aliasing. ClearType also uses sub–pixel rendering — using LCD display technology to achieve better anti–aliasing. With both of them, it prefers to lock the letters to the pixel grid.
Fig. 1: Firefox 2 on OSX (left) and IE7 on Vista (right) font rendering at 800% magnification.
ClearType is enabled by default in Windows Vista. In 2001, Windows XP had ClearType included but enabled Standard mode by default. Changing to ClearType requires navigating through the Control Panel to find the Appearance settings, then finding a button marked “Effects” to access the options. It’s the Windows equivalent of trying to change the accessibility options in browsers: Even if you know they exists, they’re a pain to find.
The legibility of each technique is subjective, and also depends on factors like ambient light, resolution, viewing distance, visual impairment, screen type and colour contrast.
Dave Shea prefers Windows’ ClearType method, as does Jeff Atwood and much of his commentators. For judiciously sized body text I mostly prefer the Apple method, yet previously in brand work I’ve also locked the letters to the pixel grid to get them as sharp as I’d like. Again, it’s subjective: How I see the individual font appear at a particular size and colour is the deciding factor.
In August, 2007 Apple and Microsoft renewed the license for the core Web fonts. It was anticipated, but still, there was a collective sigh of relief that the fonts would still be common to all major operating systems. Matthew Carter, the designer of Georgia and Verdana said:
“By agreeing to make these fonts available cross–platform Microsoft and Apple will support their customers, and confirm their respect for the standards of type–design.”
Using the default Standard mode in XP, text is rendered with minimal (practically non–existant) anti–aliasing up to a certain size. The size at which text starts to become smoothly anti–aliased seems arbitrary. Good smoothing occurs at various sizes for each variant of each typeface. XP is still the most common platform used by our audience today, and this is how it displays Georgia in IE6:
Fig. 2: Screenshot of Georgia displayed in IE6 on Windows XP clearly showing smooth anti–alias starting at 17px.
For your bookmarks: The Web fonts test suite displays text from all the fonts in a range from 11px to 21px so you can compare and contrast yourself.
The Web Fonts test suite was used to produce the following table that compares the core Web fonts, and the size in pixels at which good anti–alias starts to occur in XP by default. (Every browser except Safari.) Only whole pixel font sizes were used.
Typeface | Pixel size for smooth anti–aliasing | ||||
---|---|---|---|---|---|
Regular | Bold | Italic | Bold Italic | Small Caps | |
Andale Mono* | 18 | 11 | 18 | 18 | 21 |
Arial | 18 | 11 | 18 | 12 | 21 |
Arial Black | 17 | 17 | 17 | 17 | 20 |
Comic Sans MS | 16 | 11 | 16 | 11 | 18 |
Courier New | - | 16 | - | 17 | - |
Georgia | 17 | 17 | 17 | 17 | 20 |
Impact | - | - | - | - | - |
Times New Roman | 18 | 14 | 21 | 18 | 21 |
Trebuchet MS | 17 | 12 | 17 | 12 | 20 |
Verdana | 17 | 17 | 17 | 17 | 20 |
* Andale Mono does not ship with Windows Vista.
Noticeably, Impact is never smoothly anti–aliased, and Courier New only when embolded (perish the thought.) The font being rendered with smooth anti–aliasing at the lowest size is Comic Sans; a fact that might produce a wry smile from its creator, Vincent Connare, who never intended Comic Sans to be used outside of the speech bubbles in Microsoft Bob.
Designers can choose to ignore the smooth anti–aliasing point in XP Standard mode altogether. My view is that headers look better when smoothed as much as possible, so a careful choice of weight for the font is important. Now there’s an added complication. ClearType in Vista seems worse in some circumstances to me than the Standard method, but that is a post for another day.
Apple’s patent application for a system and method for displaying text—invented by Mark Zimmer—from June 14th, 2007 may make interesting reading for some. It includes references to grid fitting / hinting, specifically a method that, “increases contrast of tops of lowercase characters of the font family and preserves thickness at tops of stems of lowercase characters.”
In the future, the debate around platform specific font rendering may all be moot, as displays move to ever higher numbers of dots per inch and pixels per inch (160 as per the iPhone.) For now, how a given fonts behaves on different platforms is still crucial to user experience. I’ll still be keeping an eye on XP for a while yet, and I have a funny feeling I’ll be getting good use out of the table for a while, too.
Required sections are marked § . Please remember, debate and courtesy are mutually inclusive.
I’m pleased to be able to say that Analog is joining forces with…
In 2003, my wife Lowri and I went to a christening party. We were friends…
The first Ampersand web typography conference took place in Brighton last…
Wow, this has been a busy period. I’m just back from the Ampersand…
Stories are everywhere. When they don’t exist we make up the…
My friend and colleague, Chris, has shared a spiffing idea, the Ideas of…
Nice to read Jon. When I introduce myself I usually say <blockquote> I’m a web…
Thanks, what a great article.
Most typographers do not design typefaces, and some type designers do not consider themselves typographers. In modern…
This is fantastic! I wish I would have found this sooner! Thank you.
We share the same ethics and ambitions. We have fun together..!
Thank you. I’ve just started a new project using Bootstrap for the first time and I’ve been struggling…
Analog folks:
Friends, colleagues, and authors with interesting voices:
Live the questions and one day grow into the answers.
This simple dish was created with a little xHTML, a dash of CSS and a pinch of PHP. It’s garnished with hAtom, hCalendar, XFN, hCard and rel-tag with a large slice of accessible intent. Hopefully it plays nicely, all the time.
18 Comments
1. By Steve Avery on 23rd Oct ’07 at 07:09am
2. By Jon 陳 on 24th Oct ’07 at 06:06am
3. By Ben Sekulowicz on 2nd Nov ’07 at 08:38am
4. By Jon 陳 on 2nd Nov ’07 at 10:59am
5. By Esben Thomsen on 10th Apr ’08 at 17:10pm
6. By Joakim on 29th Apr ’08 at 06:29am
7. By Firebubble on 23rd Jul ’08 at 11:37am
8. By Gustavo Ferreira on 9th Nov ’08 at 07:26am
9. By Leicester on 5th Jan ’09 at 03:13am
10. By Milton on 9th Feb ’09 at 07:10am
11. By Creare Design on 25th Feb ’09 at 06:23am
12. By Timo on 18th Sep ’09 at 06:23am
13. By Charlie on 7th Feb ’10 at 05:46am
14. By JB on 25th May ’10 at 05:44am
15. By Robert Bremner on 28th Feb ’11 at 09:54am
16. By Barry Reynolds on 25th May ’11 at 08:34am
17. By Kjell Peter on 18th Jun ’11 at 05:50am
18. By Martin on 6th Jul ’11 at 21:00pm