mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Add missing resolve for font obj and make sure image objs ids are strings as well
This commit is contained in:
parent
e6bd3d8105
commit
0e8952681b
3 changed files with 3 additions and 1 deletions
1
fonts.js
1
fonts.js
|
@ -217,6 +217,7 @@ var FontLoader = {
|
|||
if (fontObj.loading) {
|
||||
return false;
|
||||
}
|
||||
Objects.resolve(fontObj.loadedName);
|
||||
}
|
||||
|
||||
document.documentElement.removeEventListener(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue