O'Reilly logo

Instant HTML5 Fonts and Typography by K. Jaouher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Cufón – fonts for the people (Intermediate)

On older versions of Windows, the use of fonts in the @font-face property may look hideous. This result is due to Windows' font rendering engine that does not smooth the edge of each character of the used font. This "disastrous" result is more visible in larger font sizes.

Cufón—fonts for the people (commonly pronounced as koo-fon) is a replacement technique. Cufón may provide an alternative solution where older Windows versions failed to render nice looking fonts. It is based on JavaScript and vector graphics and uses an OTF or TTF font to generate the required result.

Getting ready

To start this task, we need at first to dispose of a couple of fonts in OTF or TTF format and Cufón's source. These ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required