Przeglądaj źródła

PDF.js version 1.3.78 - See mozilla/pdf.js@f93a220736b284be353593fc9d4b2aa17149f646

Pdf Bot 9 lat temu
rodzic
commit
9fee3edfcf
5 zmienionych plików z 14 dodań i 8 usunięć
  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.3.76",
+  "version": "1.3.78",
   "main": [
     "build/pdf.js",
     "build/pdf.worker.js"

+ 5 - 2
build/pdf.combined.js

@@ -20,8 +20,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.3.76';
-PDFJS.build = 'f7ec866';
+PDFJS.version = '1.3.78';
+PDFJS.build = 'f93a220';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -4772,6 +4772,9 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
 
       if (isPatternFill) {
         ctx.save();
+        if (this.baseTransform) {
+          ctx.setTransform.apply(ctx, this.baseTransform);
+        }
         ctx.fillStyle = fillColor.getPattern(ctx, this);
         needRestore = true;
       }

+ 5 - 2
build/pdf.js

@@ -20,8 +20,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.3.76';
-PDFJS.build = 'f7ec866';
+PDFJS.version = '1.3.78';
+PDFJS.build = 'f93a220';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -4831,6 +4831,9 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
 
       if (isPatternFill) {
         ctx.save();
+        if (this.baseTransform) {
+          ctx.setTransform.apply(ctx, this.baseTransform);
+        }
         ctx.fillStyle = fillColor.getPattern(ctx, this);
         needRestore = true;
       }

+ 2 - 2
build/pdf.worker.js

@@ -20,8 +20,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.3.76';
-PDFJS.build = 'f7ec866';
+PDFJS.version = '1.3.78';
+PDFJS.build = 'f93a220';
 
 (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.3.76",
+  "version": "1.3.78",
   "description": "Generic build of Mozilla's PDF.js library.",
   "keywords": [
     "Mozilla",