Font.js – A Powerful Font Toolkit for JavaScript
Advertise here via BSA Font.js is a Powerful Font Toolkit for JavaScript . It gives you font loading events using a technique perfected in Mozilla’s pdf.js project, metrics information, and a better version of the canvas element’s measureText method with additional information such as height, bounding box, and leading. Font.js works by downloading the font data with an AJAX request, parsing out some metadata to determine that it is indeed a valid font file and to pull out the metrics information. Then it inserts an @font-face rule into the page.









