Chrome on Windows and every browser on Windows XP draw web fonts with an older text engine that needs well-hinted fonts. Choose typefaces made for screens, keep body text in one, and test on Windows before launch.

Smooth on the Mac, ragged in the office

The new site looked elegant on the designer's Mac: a light, modern typeface for headings and text, crisp at every size. Then the first customer opened it at work.

On the office computer, the letters were thin and broken, with strokes missing and curves stepped like staircases. Elsewhere the text looked blotchy, as if printed on cheap paper.

Nothing was wrong with the font file or the code. Windows simply draws text differently, and this typeface was never prepared for it.

Two ways of drawing text

A screen shows letters as a grid of pixels, and every operating system has to decide how to fit smooth letter shapes onto that grid.

Macs keep the shapes close to the design and soften the edges, so text looks smooth but slightly heavy. Windows has traditionally pulled shapes onto the grid for sharpness.

That depends on instructions inside the font, called hinting. A well-hinted font tells Windows how each letter should sit on the pixels at each size; a poorly hinted one leaves it guessing.

Which browsers use the older engine

Windows has an older text engine and a newer, smoother one, and which your visitors see depends on the browser and the version of Windows:

The older engine is where poorly hinted fonts fall apart. Chrome is widely used and XP is still on many office desks, so many Windows visitors see the worst version.

Thin weights suffer most

Light and hairline weights are the hardest to draw on a pixel grid. A stroke thinner than one pixel either disappears or is forced to a full pixel, so letters look broken or uneven.

Small sizes make it worse. A typeface that survives at headline size can fall apart in body text, where each letter has only a few pixels to work with.

If the bold weight is not loaded, the browser fakes it by thickening the regular weight. That fake bold looks smudged on Windows, so load every weight the design uses.

Choosing fonts made for screens

Typefaces drawn for the screen, with open shapes and generous spacing, hold up best. Fonts designed for print, especially elegant ones with fine strokes, often do not.

Where a font service shows how a typeface renders on Windows, look at those samples before choosing, at the sizes you plan to use.

Verdana and Georgia, installed on almost every Windows computer, were designed for screens and remain sound choices for body text where a downloaded font struggles.

A worked example

A food distributor in Prince Rupert supplies restaurants, cafes and caterers along the North Coast, and its new site lets chefs browse products and download order sheets.

The designer chose a light, narrow typeface for everything, to give the distributor a modern look. On the designer's Mac the product pages looked clean and spacious.

Then a chef called to say the product list was hard to read on the restaurant's office computer, a Windows XP machine running Chrome. The small, light text was broken and patchy.

Testing on a Windows XP computer and a Windows 7 laptop showed the same fault in Chrome on both, and in every browser on XP. Headings were fine; body text at small sizes was not.

Body text moved to a well-hinted screen font. The brand typeface stayed for headings, in a heavier weight and at sizes large enough to keep every stroke at least a pixel wide.

Hinting tells the older engine where each stroke of the body text belongs, and the brand font is kept to sizes where its fine strokes survive, even on an old office computer.

Test where customers are

Designers mostly work on Macs, and the Mac hides this problem completely. Testing on Windows is the only way to see it.

Before launch, look at the site on a Windows XP machine and a Windows 7 machine, in Chrome, Firefox and Internet Explorer, at the sizes used for body text, menus and buttons.

Check with ClearType switched on and off, since settings vary from one office computer to another, and some older machines smooth text very little.

The brand typeface still has a place

The brand typeface does not have to go. At large sizes, in headings, it has enough pixels to look as intended, even with the older engine.

Keep the logo as an image, so it always looks exactly as designed. Use the brand font for headings in a sturdy weight, and let a screen font carry the reading.

Font files and loading

Each browser needs the font in a format it understands, and older Internet Explorer versions need their own; a missing format falls back to a default without warning.

Load only the weights and styles the design uses. Each one is a separate file, and a page waiting for several of them shows its text later.

The counter-case

A site whose visitors mostly use Macs, iPhones and iPads will show this problem to fewer people. Google Analytics reports which operating systems your visitors use.

Some downloaded fonts are also well hinted and look good on Windows, so not every web font is a problem.

Most businesses, though, have customers at office desks running Windows, often older versions. Testing there before launch is a short job, and it shows the site as those customers will see it.

Setting type for Windows

  1. Check your visitors' systems in Google Analytics.
  2. Preview candidate fonts as Windows draws them.
  3. Keep body text in a well-hinted screen font.
  4. Use the brand typeface for headings in a sturdy weight.
  5. Load every weight the design uses, and no more.
  6. Test on Windows XP and Windows 7 in three browsers.
  7. Keep the logo as an image.

Step three carries the most weight. Body text is where people read prices, product names and instructions, and a well-hinted font keeps it clear whichever engine draws it.

Newsletters have a font problem of their own, where the brand typeface may not show at all, and the newsletter font that arrives as Times New Roman explains why.


Frequently asked questions

Why do web fonts look jagged on Windows but not on a Mac?

Macs keep letter shapes smooth and soften the edges. Windows pulls letters onto the pixel grid, and fonts without good hinting instructions come out ragged or broken.

Which browsers show the problem?

Chrome on Windows and every browser on Windows XP, which draw downloaded fonts with the older text engine. Internet Explorer 9 and later use a smoother one.

What is font hinting?

Instructions inside a font that tell Windows how each letter should sit on the pixels at each size. Well-hinted fonts stay sharp; poorly hinted ones look broken.

Do I have to give up the brand typeface?

No. Use it for headings at large sizes in a sturdy weight, keep the logo as an image, and set body text in a well-hinted screen font.

Why are thin weights the worst?

A stroke thinner than one pixel either vanishes or is forced to a full pixel, so light and hairline letters look broken or uneven at body text sizes.

How should a new site be tested?

On a Windows XP machine and a Windows 7 machine, in Chrome, Firefox and Internet Explorer, at body text sizes, with ClearType switched on and off.

West Coast Media Solutions Inc. provides web design, web development, hosting, digital marketing, and business consulting to organisations across Canada, drawing on more than twenty-five years in the field.

Fonts looking ragged on Windows computers?

We can check your site on Windows XP and Windows 7 and suggest fonts that hold up; just send us the address.

Start a Conversation