I\'m using @font-face to embed fonts in my website. First the text renders as the system default, and then (once the font file has loaded presumably) the correct font render
(function() { document.getElementsByTagName("html")[0].setAttribute("class","wf-loading") document.getElementsByTagName("html")[0].setAttribute("className","wf-loading") })();
use this method.. use with Webfont.js