fontAvailable v1.1 jQuery Plugin
Simple jQuery plugin that checks if a client browser supports a given font.
Example
$(document).ready(function() { if($.fontAvailable('tahoma')) { // analytic code here } });
- make sure to include jQuery framework and plugin source
License
MIT License
References
http://ajaxian.com/archives/fontavailable-test-to-see-if-a-font-is-usable http://kilianvalkhof.com/2009/css-xhtml/combining-cufon-and-font-face/ http://davidwalsh.name/font-check-plugin (Moo Tools implementation)