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:
parent
d9424a7135
commit
b151516416
3 changed files with 37 additions and 13 deletions
2
fonts.js
2
fonts.js
|
@ -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);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue