浏览代码

PDF.js version 1.0.288

Yury Delendik 10 年之前
父节点
当前提交
82ad5b6856
共有 5 个文件被更改,包括 20 次插入10 次删除
  1. 1 1
      bower.json
  2. 8 3
      build/pdf.combined.js
  3. 2 2
      build/pdf.js
  4. 8 3
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

@@ -1,6 +1,6 @@
 {
   "name": "pdfjs-dist",
-  "version": "1.0.286",
+  "version": "1.0.288",
   "keywords": [
     "Mozilla",
     "pdf",

+ 8 - 3
build/pdf.combined.js

@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.286';
-PDFJS.build = '3acf570';
+PDFJS.version = '1.0.288';
+PDFJS.build = '2449142';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -26248,7 +26248,12 @@ var Font = (function FontClosure() {
 
         if (!potentialTable) {
           warn('Could not find a preferred cmap table.');
-          return [];
+          return {
+            platformId: -1,
+            encodingId: -1,
+            mappings: [],
+            hasShortCmap: false
+          };
         }
 
         font.pos = start + potentialTable.offset;

+ 2 - 2
build/pdf.js

@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.286';
-PDFJS.build = '3acf570';
+PDFJS.version = '1.0.288';
+PDFJS.build = '2449142';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it

+ 8 - 3
build/pdf.worker.js

@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.286';
-PDFJS.build = '3acf570';
+PDFJS.version = '1.0.288';
+PDFJS.build = '2449142';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -21741,7 +21741,12 @@ var Font = (function FontClosure() {
 
         if (!potentialTable) {
           warn('Could not find a preferred cmap table.');
-          return [];
+          return {
+            platformId: -1,
+            encodingId: -1,
+            mappings: [],
+            hasShortCmap: false
+          };
         }
 
         font.pos = start + potentialTable.offset;

+ 1 - 1
package.json

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