Skip to content
FontChecker is a highly inventive javascript-based font availability checker. http://davidwalsh.name/js/fontchecker
JavaScript
Find file
Latest commit fd88ee1 @darkwing WTF GIT

README.md

Clickables

FontChecker is a highly inventive javascript-based font availability checker that compares the size of two elements to deliver its verdict.

Screenshot

How to Use

FontChecker can be initialized at any time but is generally initialized at the top of the document during the page's normal load. There are no required arguments -- only options.

Javascript

/* initialize */
var fc = new FontChecker();
/* sample usage */
if(fc.check('Comic Sans')) {
    $$('h1').setStyle('font-family','Comic Sans');
}

For specific usage and options, please read the documentation or visit http://davidwalsh.name/js/fontchecker

Something went wrong with that request. Please try again.