mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
fix bad merge
This commit is contained in:
parent
7a306afe41
commit
6397774fb5
1 changed files with 2 additions and 0 deletions
2
fonts.js
2
fonts.js
|
@ -1117,6 +1117,8 @@ var Font = (function () {
|
|||
var rule = "@font-face { font-family:'" + fontName + "';src:" + url + "}";
|
||||
var styleSheet = document.styleSheets[0];
|
||||
styleSheet.insertRule(rule, styleSheet.cssRules.length);
|
||||
|
||||
return rule;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue