Parcourir la source

PDF.js version 1.1.438

Pdf Bot il y a 9 ans
Parent
commit
33d8108088
5 fichiers modifiés avec 14 ajouts et 8 suppressions
  1. 1 1
      bower.json
  2. 5 2
      build/pdf.combined.js
  3. 5 2
      build/pdf.js
  4. 2 2
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

@@ -1,6 +1,6 @@
 {
   "name": "pdfjs-dist",
-  "version": "1.1.435",
+  "version": "1.1.438",
   "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.1.435';
-PDFJS.build = '52dc7f3';
+PDFJS.version = '1.1.438';
+PDFJS.build = '2a0e078';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -4221,6 +4221,9 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
         this.current = this.stateStack.pop();
         this.ctx.restore();
 
+        // Ensure that the clipping path is reset (fixes issue6413.pdf).
+        this.pendingClip = null;
+
         this.cachedGetSinglePixelWidth = null;
       }
     },

+ 5 - 2
build/pdf.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.1.435';
-PDFJS.build = '52dc7f3';
+PDFJS.version = '1.1.438';
+PDFJS.build = '2a0e078';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -4265,6 +4265,9 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
         this.current = this.stateStack.pop();
         this.ctx.restore();
 
+        // Ensure that the clipping path is reset (fixes issue6413.pdf).
+        this.pendingClip = null;
+
         this.cachedGetSinglePixelWidth = null;
       }
     },

+ 2 - 2
build/pdf.worker.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.1.435';
-PDFJS.build = '52dc7f3';
+PDFJS.version = '1.1.438';
+PDFJS.build = '2a0e078';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it

+ 1 - 1
package.json

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