mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #6700 from Snuffleupagus/mozcentral-remove-FontLoader-bindDOM
Replace `font.bindDOM()` with `font.createFontFaceRule()` in the `FontLoader` for MOZCENTRAL specific code (PR 6571 follow-up)
This commit is contained in:
commit
84a47f8e53
1 changed files with 4 additions and 1 deletions
|
@ -280,7 +280,10 @@ FontLoader.prototype = {
|
|||
// }
|
||||
//
|
||||
// font.attached = true;
|
||||
// font.bindDOM()
|
||||
// var rule = font.createFontFaceRule();
|
||||
// if (rule) {
|
||||
// this.insertRule(rule);
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// setTimeout(callback);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue