Bladeren bron

PDF.js version 1.4.115 - See mozilla/pdf.js@8402c791711a1dd0a66021cc02e97e455194d8b1

Pdf Bot 9 jaren geleden
bovenliggende
commit
3f75f5e8e7
5 gewijzigde bestanden met toevoegingen van 10 en 10 verwijderingen
  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.4.113",
+  "version": "1.4.115",
   "main": [
     "build/pdf.js",
     "build/pdf.worker.js"

+ 3 - 3
build/pdf.combined.js

@@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfCombined = {}));
   // Use strict in our context only - users might not want it
   'use strict';
 
-var pdfjsVersion = '1.4.113';
-var pdfjsBuild = 'a6acf74';
+var pdfjsVersion = '1.4.115';
+var pdfjsBuild = '8402c79';
 
   var pdfjsFilePath =
     typeof document !== 'undefined' && document.currentScript ?
@@ -36028,7 +36028,7 @@ var Font = (function FontClosure() {
           assert(cid <= 0xffff, 'Max size of CID is 65,535');
           var glyphId = -1;
           if (isCidToGidMapEmpty) {
-            glyphId = charCode;
+            glyphId = cid;
           } else if (cidToGidMap[cid] !== undefined) {
             glyphId = cidToGidMap[cid];
           }

+ 2 - 2
build/pdf.js

@@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdf = {}));
   // Use strict in our context only - users might not want it
   'use strict';
 
-var pdfjsVersion = '1.4.113';
-var pdfjsBuild = 'a6acf74';
+var pdfjsVersion = '1.4.115';
+var pdfjsBuild = '8402c79';
 
   var pdfjsFilePath =
     typeof document !== 'undefined' && document.currentScript ?

+ 3 - 3
build/pdf.worker.js

@@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfWorker = {}));
   // Use strict in our context only - users might not want it
   'use strict';
 
-var pdfjsVersion = '1.4.113';
-var pdfjsBuild = 'a6acf74';
+var pdfjsVersion = '1.4.115';
+var pdfjsBuild = '8402c79';
 
   var pdfjsFilePath =
     typeof document !== 'undefined' && document.currentScript ?
@@ -28048,7 +28048,7 @@ var Font = (function FontClosure() {
           assert(cid <= 0xffff, 'Max size of CID is 65,535');
           var glyphId = -1;
           if (isCidToGidMapEmpty) {
-            glyphId = charCode;
+            glyphId = cid;
           } else if (cidToGidMap[cid] !== undefined) {
             glyphId = cidToGidMap[cid];
           }

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "pdfjs-dist",
-  "version": "1.4.113",
+  "version": "1.4.115",
   "main": "build/pdf.js",
   "description": "Generic build of Mozilla's PDF.js library.",
   "keywords": [