Published in Brighton, UK

Clagnut

Problems with font rendering on Macs

Just recently Jeffrey Zeldman was bemoaning the sub-standard state of text rendering in Firefox on a Mac. And the sad truth is he only skimmed the surface of type rendering problems across browsers. Never mind trying to pick a typeface which most people will have installed; Firefox, Safari, Opera and Camino may render even the same font differently.

This is because there are (at least) five different formats of fonts: TrueType-Mac, TrueType-PC, PostScript-Type 1, OpenType-PostScript and OpenType-TrueType. I’m not au fait with the technical differences between formats, but the differences in rendering between browsers is shocking.

To demonstrate the differences, I created a page with five different fonts, one of each type. The resulting screenshots show that Camino 1.2 (still in beta) and Safari do a fine job of rendering all formats, but Firefox and Opera struggle with all formats except for TrueType Mac. Note that the current release of Camino renders the same as Firefox.

BrowserFont Format
TrueType MacTrueType PCPostScriptOpenType PostScriptOpenType TrueType
Camino 1.2goodgoodgoodgoodgood
Safari 2goodgoodgoodgoodgood
Firefox 2goodcorrect italic & bold fonts displayed; miscalculation of space required for italic, bold & underlined fonts resulting in overlappping textnot rendereditalic & bold fonts synthesised; miscalculation of space required for italic, bold & underlined fonts resulting in overlappping textitalic & bold fonts synthesised; miscalculation of space required for italic, bold & underlined fonts resulting in overlappping text
Opera 9goodgood, but italic font is synthetically obliquednot renderedbold font not rendered; italic synthesisedbold font not rendered; italic synthesised

Hat tip Jon Hicks for details about forthcoming Camino releases.

14 December 2006

§ Browsers · Typography · Apple

6 comments

Related photos

  • Here be dragons
  • Anniversary supper with a song dedicated to printing
  • Be prepared to stop
  • Dorset Cereals - 6
  • Writing & Illuminating, and Lettering by E. Johnston
  • Underworld: Vanilla Monkey cover
  • Tucking into tea, coffee & cake after a hard day\'s printing
  • LOVE FOOD
  • Brothercake

Next

Previous

Related posts

Keywords

Machine tags

Comments

  1. 1

    Richard, awesome. Thanks for the research. I’m very interested to understand how these differences come to be.

    Tim Brown
    Tim Brown’s Gravatar
    14 Dec 2006
    15:30 GMT
  2. 2

    Light text on a dark background is still fugly as all hell unless it is supported with a text-shadow.

    Sujay
    Sujay’s Gravatar
    18 Dec 2006
    19:58 GMT
  3. 3

    I’m more interested in how the switch to the cairo rendering engine for gecko 1.9 will affect firefox’s font rendering. I’ve only heared great things about it thus far.

    Fredrik Wärnsberg
    Fredrik Wärnsberg’s Gravatar
    18 Dec 2006
    23:25 GMT
  4. 4

    This is a topic I have been wanting to dive into a little deeper. Thanks for the research and screen shots.

    Nate K
    Nate K’s Gravatar
    19 Dec 2006
    15:40 GMT
  5. 5

    I’m more interested in how the switch to the cairo rendering engine for gecko 1.9 will affect firefox’s font rendering.

    The new Firefox rendering will be the same as the Camino 1.2 rendering I described. Very good in other words.

    Rich
    Rich’s Gravatar
    19 Dec 2006
    16:20 GMT
  6. 6

    Firefox 3 v. Camino 1.2 aren’t exactly the same. Camino 1.2 still fails to render the card suit entities (see https://bugzilla.mozilla.org/show_bug.cgi?id=212745) whereas the latest Minefield build for Firefox does render them correctly.

    John Lascurettes
    John Lascurettes’s Gravatar
    22 Dec 2006
    01:07 GMT

Add your comment

Comments are now closed on this post. If you have more to say please contact me directly.

Outside interest

Top Referrers