Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (9 sloc) 0.602 kb
This script is a feature detection for the CSS3 feature of @font-face. This enables you to use a hosted font file as a font-family in your CSS.
View the full details of this project at:
http://paulirish.com/2009/font-face-feature-detection/
My requirements for this detection were:
* No browser userAgent sniffing
* No extra HTTP request required
* Must be performant with a small footprint, natch
* Results should match the latest research on compatibility
This script is meant to replace all fontAvailable scripts. It can be asynchronous, but it has much greater accuracy.
Jump to Line
Something went wrong with that request. Please try again.