Skip to content
Detect if @font-face support is present in the browser.
Find file
Failed to load latest commit information.
README test is async. :(
isFontFaceSupported.js style and updated minified version
isFontFaceSupportedInference.js update inference based on feedback from author. :)
isFontFaceSupportedSniff.js sniff needs to match the () api
isFontLoaded.js adding isFontLoaded by harold kyle
snifftest.html added test page. currently failing safari...
test.html new data uri font. callback structure strengthened. version bump


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:

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.

Something went wrong with that request. Please try again.