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

Chapter 1. Instant HTML5 Fonts and Typography

Welcome to Instant HTML5 Fonts and Typography. In this book, we will cover creating custom fonts and generating cross-browser font file formats, importing fonts via @font-face, @import, the link tag, and JavaScript from both local and distant servers, applying fonts in both a static and dynamic way on normal text or canvas tag, and applying different effects over text using CSS properties or by using predefined effects from distant font servers.

We will also cover specific JavaScript commands to generate fonts to avoid old browser problems such as rendering engines (for example, Cufón) and rendering a static or animated image via fonts, scripts, and other HTML5 and CSS features.

Using custom fonts with ...

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