Ver Fonte

PDF.js version 1.1.440

Pdf Bot há 9 anos atrás
pai
commit
504bc1e6e5
5 ficheiros alterados com 22 adições e 10 exclusões
  1. 1 1
      bower.json
  2. 9 3
      build/pdf.combined.js
  3. 2 2
      build/pdf.js
  4. 9 3
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

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

+ 9 - 3
build/pdf.combined.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.1.438';
-PDFJS.build = '2a0e078';
+PDFJS.version = '1.1.440';
+PDFJS.build = '238e16f';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -24221,7 +24221,13 @@ var Font = (function FontClosure() {
             });
           }
         } else {
-          error('cmap table has unsupported format: ' + format);
+          warn('cmap table has unsupported format: ' + format);
+          return {
+            platformId: -1,
+            encodingId: -1,
+            mappings: [],
+            hasShortCmap: false
+          };
         }
 
         // removing duplicate entries

+ 2 - 2
build/pdf.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.1.438';
-PDFJS.build = '2a0e078';
+PDFJS.version = '1.1.440';
+PDFJS.build = '238e16f';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it

+ 9 - 3
build/pdf.worker.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.1.438';
-PDFJS.build = '2a0e078';
+PDFJS.version = '1.1.440';
+PDFJS.build = '238e16f';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -17764,7 +17764,13 @@ var Font = (function FontClosure() {
             });
           }
         } else {
-          error('cmap table has unsupported format: ' + format);
+          warn('cmap table has unsupported format: ' + format);
+          return {
+            platformId: -1,
+            encodingId: -1,
+            mappings: [],
+            hasShortCmap: false
+          };
         }
 
         // removing duplicate entries

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "pdfjs-dist",
-  "version": "1.1.438",
+  "version": "1.1.440",
   "description": "Generic build of Mozilla's PDF.js library.",
   "keywords": [
     "Mozilla",