浏览代码

PDF.js version 1.0.830

Pdf Bot 10 年之前
父节点
当前提交
38b7eb9fa3
共有 5 个文件被更改,包括 14 次插入8 次删除
  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.0.828",
+  "version": "1.0.830",
   "main": [
     "build/pdf.js",
     "build/pdf.worker.js"

+ 5 - 2
build/pdf.combined.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.828';
-PDFJS.build = '76b3e5d';
+PDFJS.version = '1.0.830';
+PDFJS.build = '4189c78';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -22483,6 +22483,9 @@ var Font = (function FontClosure() {
 
     var data;
     switch (type) {
+      case 'MMType1':
+        info('MMType1 font (' + name + '), falling back to Type1.');
+        /* falls through */
       case 'Type1':
       case 'CIDFontType0':
         this.mimetype = 'font/opentype';

+ 2 - 2
build/pdf.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.828';
-PDFJS.build = '76b3e5d';
+PDFJS.version = '1.0.830';
+PDFJS.build = '4189c78';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it

+ 5 - 2
build/pdf.worker.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.828';
-PDFJS.build = '76b3e5d';
+PDFJS.version = '1.0.830';
+PDFJS.build = '4189c78';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -16442,6 +16442,9 @@ var Font = (function FontClosure() {
 
     var data;
     switch (type) {
+      case 'MMType1':
+        info('MMType1 font (' + name + '), falling back to Type1.');
+        /* falls through */
       case 'Type1':
       case 'CIDFontType0':
         this.mimetype = 'font/opentype';

+ 1 - 1
package.json

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