Procházet zdrojové kódy

PDF.js version 1.0.1008

Pdf Bot před 10 roky
rodič
revize
34ec513ee1
5 změnil soubory, kde provedl 20 přidání a 10 odebrání
  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.1006",
+  "version": "1.0.1008",
   "main": [
     "build/pdf.js",
     "build/pdf.worker.js"

+ 8 - 3
build/pdf.combined.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.1006';
-PDFJS.build = 'cff9184';
+PDFJS.version = '1.0.1008';
+PDFJS.build = '0c3a8ba';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -20569,7 +20569,8 @@ var nonStdFontMap = {
   'MS-PMincho': 'MS PMincho',
   'MS-PMincho-Bold': 'MS PMincho-Bold',
   'MS-PMincho-BoldItalic': 'MS PMincho-BoldItalic',
-  'MS-PMincho-Italic': 'MS PMincho-Italic'
+  'MS-PMincho-Italic': 'MS PMincho-Italic',
+  'Wingdings': 'ZapfDingbats'
 };
 
 var serifFonts = {
@@ -22698,6 +22699,10 @@ var Font = (function FontClosure() {
           this.toFontChar[charCode] = fontChar;
         }
       } else if (/Dingbats/i.test(fontName)) {
+        if (/Wingdings/i.test(name)) {
+          warn('Wingdings font without embedded font file, ' +
+               'falling back to the ZapfDingbats encoding.');
+        }
         var dingbats = Encodings.ZapfDingbatsEncoding;
         for (charCode in dingbats) {
           fontChar = DingbatsGlyphsUnicode[dingbats[charCode]];

+ 2 - 2
build/pdf.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.1006';
-PDFJS.build = 'cff9184';
+PDFJS.version = '1.0.1008';
+PDFJS.build = '0c3a8ba';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it

+ 8 - 3
build/pdf.worker.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.1006';
-PDFJS.build = 'cff9184';
+PDFJS.version = '1.0.1008';
+PDFJS.build = '0c3a8ba';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -14442,7 +14442,8 @@ var nonStdFontMap = {
   'MS-PMincho': 'MS PMincho',
   'MS-PMincho-Bold': 'MS PMincho-Bold',
   'MS-PMincho-BoldItalic': 'MS PMincho-BoldItalic',
-  'MS-PMincho-Italic': 'MS PMincho-Italic'
+  'MS-PMincho-Italic': 'MS PMincho-Italic',
+  'Wingdings': 'ZapfDingbats'
 };
 
 var serifFonts = {
@@ -16571,6 +16572,10 @@ var Font = (function FontClosure() {
           this.toFontChar[charCode] = fontChar;
         }
       } else if (/Dingbats/i.test(fontName)) {
+        if (/Wingdings/i.test(name)) {
+          warn('Wingdings font without embedded font file, ' +
+               'falling back to the ZapfDingbats encoding.');
+        }
         var dingbats = Encodings.ZapfDingbatsEncoding;
         for (charCode in dingbats) {
           fontChar = DingbatsGlyphsUnicode[dingbats[charCode]];

+ 1 - 1
package.json

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