diff --git a/bower.json b/bower.json index 68623d19c..28e1fd5d9 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.1209", + "version": "1.0.1211", "main": [ "build/pdf.js", "build/pdf.worker.js" diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 56d47fe5c..847fcf7c8 100644 --- a/build/pdf.combined.js +++ b/build/pdf.combined.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.1209'; -PDFJS.build = 'f7b3852'; +PDFJS.version = '1.0.1211'; +PDFJS.build = '4e95362'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -6306,7 +6306,8 @@ var FontLoader = { nativeFontFaces: [], - isFontLoadingAPISupported: !isWorker && !!document.fonts, + isFontLoadingAPISupported: (!isWorker && typeof document !== 'undefined' && + !!document.fonts), addNativeFontFace: function fontLoader_addNativeFontFace(nativeFontFace) { this.nativeFontFaces.push(nativeFontFace); diff --git a/build/pdf.js b/build/pdf.js index 147cbb217..ca67ca10e 100644 --- a/build/pdf.js +++ b/build/pdf.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.1209'; -PDFJS.build = 'f7b3852'; +PDFJS.version = '1.0.1211'; +PDFJS.build = '4e95362'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -6350,7 +6350,8 @@ var FontLoader = { nativeFontFaces: [], - isFontLoadingAPISupported: !isWorker && !!document.fonts, + isFontLoadingAPISupported: (!isWorker && typeof document !== 'undefined' && + !!document.fonts), addNativeFontFace: function fontLoader_addNativeFontFace(nativeFontFace) { this.nativeFontFaces.push(nativeFontFace); diff --git a/build/pdf.worker.js b/build/pdf.worker.js index 11840e017..bbcd95e37 100644 --- a/build/pdf.worker.js +++ b/build/pdf.worker.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.1209'; -PDFJS.build = 'f7b3852'; +PDFJS.version = '1.0.1211'; +PDFJS.build = '4e95362'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it diff --git a/package.json b/package.json index 6e79790e6..e4d4814cc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.1209", + "version": "1.0.1211", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla",