1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

Introduce ImageCanvas to handle canvas rendering in WebWorker

This commit is contained in:
Julian Viereck 2011-06-22 09:46:11 +02:00
parent d9424a7135
commit b151516416
3 changed files with 37 additions and 13 deletions

View file

@ -855,8 +855,6 @@ var Font = (function () {
var rule = "@font-face { font-family:'" + fontName + "';src:" + url + "}";
var styleSheet = document.styleSheets[0];
styleSheet.insertRule(rule, styleSheet.length);
console.log("added font", fontName);
console.log(rule);
}
}
};