Răsfoiți Sursa

PDF.js version 1.4.111 - See mozilla/pdf.js@6b1de4aa380b4a4e784d340343a32a4b570eecfe

Pdf Bot 9 ani în urmă
părinte
comite
62b8087dfd
5 a modificat fișierele cu 14 adăugiri și 8 ștergeri
  1. 1 1
      bower.json
  2. 5 2
      build/pdf.combined.js
  3. 2 2
      build/pdf.js
  4. 5 2
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

@@ -1,6 +1,6 @@
 {
   "name": "pdfjs-dist",
-  "version": "1.4.109",
+  "version": "1.4.111",
   "main": [
     "build/pdf.js",
     "build/pdf.worker.js"

+ 5 - 2
build/pdf.combined.js

@@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfCombined = {}));
   // Use strict in our context only - users might not want it
   'use strict';
 
-var pdfjsVersion = '1.4.109';
-var pdfjsBuild = '22341c0';
+var pdfjsVersion = '1.4.111';
+var pdfjsBuild = '6b1de4a';
 
   var pdfjsFilePath =
     typeof document !== 'undefined' && document.currentScript ?
@@ -35570,6 +35570,9 @@ var Font = (function FontClosure() {
         }
         for (i = 0, ii = records.length; i < ii; i++) {
           var record = records[i];
+          if (record.length <= 0) {
+            continue; // Nothing to process, ignoring.
+          }
           var pos = start + stringsStart + record.offset;
           if (pos + record.length > end) {
             continue; // outside of name table, ignoring

+ 2 - 2
build/pdf.js

@@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdf = {}));
   // Use strict in our context only - users might not want it
   'use strict';
 
-var pdfjsVersion = '1.4.109';
-var pdfjsBuild = '22341c0';
+var pdfjsVersion = '1.4.111';
+var pdfjsBuild = '6b1de4a';
 
   var pdfjsFilePath =
     typeof document !== 'undefined' && document.currentScript ?

+ 5 - 2
build/pdf.worker.js

@@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfWorker = {}));
   // Use strict in our context only - users might not want it
   'use strict';
 
-var pdfjsVersion = '1.4.109';
-var pdfjsBuild = '22341c0';
+var pdfjsVersion = '1.4.111';
+var pdfjsBuild = '6b1de4a';
 
   var pdfjsFilePath =
     typeof document !== 'undefined' && document.currentScript ?
@@ -27594,6 +27594,9 @@ var Font = (function FontClosure() {
         }
         for (i = 0, ii = records.length; i < ii; i++) {
           var record = records[i];
+          if (record.length <= 0) {
+            continue; // Nothing to process, ignoring.
+          }
           var pos = start + stringsStart + record.offset;
           if (pos + record.length > end) {
             continue; // outside of name table, ignoring

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "pdfjs-dist",
-  "version": "1.4.109",
+  "version": "1.4.111",
   "main": "build/pdf.js",
   "description": "Generic build of Mozilla's PDF.js library.",
   "keywords": [