onFontLoad example

The onFontLoad plugin detects when the fonts linked with font-face are loaded and ready to use. It's a very lightweight (1Kb gzipped) solution to Flash of Unstyled Text (FOUT).

Usage instructions available on GitHub.

This page will only displays after the main font is loaded. A sample text will be appended to the next three fonts below when they're ready.

  1. Galada: Loading...
  2. Indie Flower: Loading...
  3. FontAwesome: Loading...

You might need to disable browser cache or setup a network throttling to see Loading phase.