If your headings appear in plain type and then redraw in your brand's typeface, a script is replacing them after the page loads. Replace it with a properly licensed web font, which every current browser supports.

Headings that redraw a moment late

Open the home page of an older winery site and watch the headings. They appear first in a plain typeface, then a moment later jump into the winery's elegant brand lettering.

On a fast computer the switch is a blink. On an older office machine the page jerks as each heading redraws, and scrolling stutters until the last one lands.

On an iPad they never change at all, because this site draws them with Flash. They stay plain, and the brand look the site was built around never appears.

A workaround from before web fonts

For years a web page could use only the fonts installed on the visitor's computer. A designer who wanted a brand typeface in the headings needed another route.

Two tricks became common. One converts the font into a file of letter shapes and has a script draw each heading. The other places each heading in a small Flash movie with the font inside.

Both wait for the page to load, find each heading and swap the plain text for the drawn version. That wait is the plain type you see first.

What the replacement costs

Each cost is small on its own. Together, on a page with a dozen headings, they make a site feel slow and unsettled just as a visitor is forming an impression.

Why older computers stutter

Each time a heading changes size or shape, the browser measures the page again and moves everything below it. A page with many headings repeats that work many times over.

Older versions of Internet Explorer, still common in offices, draw the script's letter shapes with a slower method of their own. The Flash version starts a separate movie for each heading.

A new computer hides the delay inside a fraction of a second. On a five-year-old machine with several programs open, visitors watch the headings land one by one.

Web fonts in every current browser

Every current browser can download a font from the website itself and use it for ordinary text. These web fonts work in Internet Explorer, Firefox, Chrome and Safari, and in the browsers on most phones and tablets.

The heading stays real text, laid out in the right typeface along with the rest of the page. A first visit may show a brief swap while the font arrives.

After that, the font file sits in the browser's cache for every later page. It is supplied in three or four formats, and each browser takes the one it understands.

The licence matters

A font bought for print usually carries a desktop licence, covering documents made on your own computers. A font file on a web server, downloaded by every visitor's browser, is a different use.

Many type foundries sell web licences, some priced by traffic and some for a single fee. Others do not license their fonts for the web at all.

Converting a desktop font for a heading script is itself a use many licences forbid, so the old setup may already break the terms. Licences differ from foundry to foundry, and this outline is not legal advice on yours.

A worked example

A language exchange agency in Victoria pairs international students with local conversation partners and homestay families. Its site has pages in English, French and Spanish.

Its headings were drawn by a script, using the agency's rounded brand typeface converted years ago. Whoever converted it included only the basic English alphabet.

On the French and Spanish pages, accented letters came out as gaps, so headings arrived with holes in their words. The computer at reception also stuttered through every page.

The agency bought a web licence for the same typeface, in a version with the accented letters, and restyled the headings as real text. The script and its files were deleted.

Each heading is now ordinary text in a font that holds every letter the pages use. No script waits to redraw anything once the page arrives, so there is nothing left to stutter.

Keeping the font file light

Load only the weights the design uses. A regular and a bold usually suffice, and each extra weight or italic is another download.

Many web licences allow trimming the font to the characters the site needs. Keep the accented letters for every language you publish in, and drop the rest.

Have the server tell browsers they may keep font files for a long time, so each visitor downloads them once rather than on every page.

Pick a fallback font close in width to the brand typeface, so lines stay put if the web font arrives late.

Testing the change

Check the headings on an older office computer with Internet Explorer 8, on a Mac, an iPad and an Android phone, looking closely at accented letters.

Then select a heading, copy it and search the page for one of its words. All three should work, because the heading is ordinary text again.

The counter-case

A site may use the script only for the business name at the top of the home page, and be due for replacement within months. That fix can wait for the new site.

A typeface with no web licence, or one priced beyond the budget, is another honest limit. A licensed typeface close in shape keeps the look within the terms.

For headings across a whole site, though, redrawing text after the page loads is a workaround whose time has passed.

Retiring the heading script

  1. Find the script and the font or Flash files it loads.
  2. Check the font's licence for use on the web.
  3. Buy a web licence or choose a licensed alternative.
  4. Trim the font to the weights and letters the site uses.
  5. Style the headings as real text in the web font.
  6. Delete the script and its files from the server.
  7. Test on old and new browsers, phones and tablets included.

Step two comes before any code is touched. A web font used without the right licence swaps one problem for another, and the foundry's terms decide which formats and how much traffic it covers.

Other scripts that hold a page back, such as social buttons waiting for servers an office blocks, are dealt with in pages that hang for visitors whose office blocks Facebook.


Frequently asked questions

Why do my headings change typeface after the page loads?

A script waits for the page to finish, then swaps each plain heading for a drawing or a small Flash movie in your brand typeface. The plain version shows first.

Why does the page stutter on older computers?

Every swapped heading makes the browser lay out the page again. Older Internet Explorer versions draw the replacement letters slowly, and Flash starts a movie for each heading.

What is a web font?

A font file the browser downloads from your own website and uses for ordinary text. Every current browser supports it, so headings stay real text in your typeface.

Can we use the font we bought for our printed material?

Usually not as it stands, since desktop licences rarely cover placing the file on a web server. Ask the foundry, which may sell a web licence.

Will a web font slow the site down?

Not if it is kept lean: two weights, only the letters the site uses, and server settings that let each visitor download the files once.

Why do the headings stay plain on an iPad?

If the replacement uses Flash, iPads and iPhones cannot play it, so they show the plain fallback text. A web font works on both.

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.

Headings that redraw after the page loads?

Give us the page address, and we will check the heading script, the font's licence and what a web font would weigh.

Start a Conversation