mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Fix the node getinfo.js example
This broke in PR 5366.
This commit is contained in:
parent
f7b3852dd5
commit
d762cad420
1 changed files with 2 additions and 1 deletions
|
@ -105,7 +105,8 @@ var FontLoader = {
|
|||
|
||||
nativeFontFaces: [],
|
||||
|
||||
isFontLoadingAPISupported: !isWorker && !!document.fonts,
|
||||
isFontLoadingAPISupported: (!isWorker && typeof document !== 'undefined' &&
|
||||
!!document.fonts),
|
||||
|
||||
addNativeFontFace: function fontLoader_addNativeFontFace(nativeFontFace) {
|
||||
this.nativeFontFaces.push(nativeFontFace);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue