Procházet zdrojové kódy

PDF.js version 1.1.352

Pdf Bot před 9 roky
rodič
revize
c18a0e220e
5 změnil soubory, kde provedl 10 přidání a 10 odebrání
  1. 1 1
      bower.json
  2. 3 3
      build/pdf.combined.js
  3. 2 2
      build/pdf.js
  4. 3 3
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

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

+ 3 - 3
build/pdf.combined.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.1.350';
-PDFJS.build = '72ecbec';
+PDFJS.version = '1.1.352';
+PDFJS.build = '977397e';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -24814,7 +24814,7 @@ var Font = (function FontClosure() {
       var isTrueType = !tables['CFF '];
       if (!isTrueType) {
         // OpenType font
-        if (header.version === 'OTTO' ||
+        if ((header.version === 'OTTO' && properties.type !== 'CIDFontType2') ||
             !tables.head || !tables.hhea || !tables.maxp || !tables.post) {
           // no major tables: throwing everything at CFFFont
           cffFile = new Stream(tables['CFF '].data);

+ 2 - 2
build/pdf.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.1.350';
-PDFJS.build = '72ecbec';
+PDFJS.version = '1.1.352';
+PDFJS.build = '977397e';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it

+ 3 - 3
build/pdf.worker.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.1.350';
-PDFJS.build = '72ecbec';
+PDFJS.version = '1.1.352';
+PDFJS.build = '977397e';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -18413,7 +18413,7 @@ var Font = (function FontClosure() {
       var isTrueType = !tables['CFF '];
       if (!isTrueType) {
         // OpenType font
-        if (header.version === 'OTTO' ||
+        if ((header.version === 'OTTO' && properties.type !== 'CIDFontType2') ||
             !tables.head || !tables.hhea || !tables.maxp || !tables.post) {
           // no major tables: throwing everything at CFFFont
           cffFile = new Stream(tables['CFF '].data);

+ 1 - 1
package.json

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