Browse Source

PDF.js version 1.0.837

Pdf Bot 10 years ago
parent
commit
77d095aeb6
5 changed files with 22 additions and 8 deletions
  1. 1 1
      bower.json
  2. 9 2
      build/pdf.combined.js
  3. 2 2
      build/pdf.js
  4. 9 2
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

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

+ 9 - 2
build/pdf.combined.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.835';
-PDFJS.build = '8539cd6';
+PDFJS.version = '1.0.837';
+PDFJS.build = '744c8e8';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -22489,6 +22489,13 @@ var Font = (function FontClosure() {
           }
           this.toFontChar[charCode] = fontChar;
         }
+        for (charCode in properties.differences) {
+          fontChar = GlyphsUnicode[properties.differences[charCode]];
+          if (!fontChar) {
+            continue;
+          }
+          this.toFontChar[charCode] = fontChar;
+        }
       } else if (/Dingbats/i.test(fontName)) {
         var dingbats = Encodings.ZapfDingbatsEncoding;
         for (charCode in dingbats) {

+ 2 - 2
build/pdf.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.835';
-PDFJS.build = '8539cd6';
+PDFJS.version = '1.0.837';
+PDFJS.build = '744c8e8';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it

+ 9 - 2
build/pdf.worker.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.835';
-PDFJS.build = '8539cd6';
+PDFJS.version = '1.0.837';
+PDFJS.build = '744c8e8';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -16428,6 +16428,13 @@ var Font = (function FontClosure() {
           }
           this.toFontChar[charCode] = fontChar;
         }
+        for (charCode in properties.differences) {
+          fontChar = GlyphsUnicode[properties.differences[charCode]];
+          if (!fontChar) {
+            continue;
+          }
+          this.toFontChar[charCode] = fontChar;
+        }
       } else if (/Dingbats/i.test(fontName)) {
         var dingbats = Encodings.ZapfDingbatsEncoding;
         for (charCode in dingbats) {

+ 1 - 1
package.json

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