Jelajahi Sumber

PDF.js version 1.7.367 - See mozilla/pdf.js@f0c45f0336aa90bbf8f636586896fb5767a63e71

pdfjsbot 8 tahun lalu
induk
melakukan
45ed5109b9

+ 1 - 1
bower.json

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

+ 8 - 8
build/pdf.combined.js

@@ -20022,8 +20022,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
   }
  };
 }();
-exports.version = '1.7.365';
-exports.build = '2b171889';
+exports.version = '1.7.367';
+exports.build = 'f0c45f03';
 exports.getDocument = getDocument;
 exports.PDFDataRangeTransport = PDFDataRangeTransport;
 exports.PDFWorker = PDFWorker;
@@ -38777,8 +38777,8 @@ if (!globalScope.PDFJS) {
  globalScope.PDFJS = {};
 }
 var PDFJS = globalScope.PDFJS;
-PDFJS.version = '1.7.365';
-PDFJS.build = '2b171889';
+PDFJS.version = '1.7.367';
+PDFJS.build = 'f0c45f03';
 PDFJS.pdfBug = false;
 if (PDFJS.verbosity !== undefined) {
  sharedUtil.setVerbosityLevel(PDFJS.verbosity);
@@ -56340,7 +56340,7 @@ var TilingPattern = function TilingPatternClosure() {
    0,
    0
   ];
-  this.bbox = IR[4];
+  this.bbox = Util.normalizeRect(IR[4]);
   this.xstep = IR[5];
   this.ystep = IR[6];
   this.paintType = IR[7];
@@ -56424,7 +56424,7 @@ var TilingPattern = function TilingPatternClosure() {
    this.ctx.scale(1 / scale[0], 1 / scale[1]);
   },
   clipBbox: function clipBbox(graphics, bbox, x0, y0, x1, y1) {
-   if (bbox && isArray(bbox) && bbox.length === 4) {
+   if (isArray(bbox) && bbox.length === 4) {
     var bboxWidth = x1 - x0;
     var bboxHeight = y1 - y0;
     graphics.ctx.rect(x0, y0, bboxWidth, bboxHeight);
@@ -57887,8 +57887,8 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) {
 
 "use strict";
 
-var pdfjsVersion = '1.7.365';
-var pdfjsBuild = '2b171889';
+var pdfjsVersion = '1.7.367';
+var pdfjsBuild = 'f0c45f03';
 var pdfjsSharedUtil = __w_pdfjs_require__(0);
 var pdfjsDisplayGlobal = __w_pdfjs_require__(26);
 var pdfjsDisplayAPI = __w_pdfjs_require__(10);

+ 8 - 8
build/pdf.js

@@ -3735,8 +3735,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
   }
  };
 }();
-exports.version = '1.7.365';
-exports.build = '2b171889';
+exports.version = '1.7.367';
+exports.build = 'f0c45f03';
 exports.getDocument = getDocument;
 exports.PDFDataRangeTransport = PDFDataRangeTransport;
 exports.PDFWorker = PDFWorker;
@@ -5768,8 +5768,8 @@ if (!globalScope.PDFJS) {
  globalScope.PDFJS = {};
 }
 var PDFJS = globalScope.PDFJS;
-PDFJS.version = '1.7.365';
-PDFJS.build = '2b171889';
+PDFJS.version = '1.7.367';
+PDFJS.build = 'f0c45f03';
 PDFJS.pdfBug = false;
 if (PDFJS.verbosity !== undefined) {
  sharedUtil.setVerbosityLevel(PDFJS.verbosity);
@@ -8308,7 +8308,7 @@ var TilingPattern = function TilingPatternClosure() {
    0,
    0
   ];
-  this.bbox = IR[4];
+  this.bbox = Util.normalizeRect(IR[4]);
   this.xstep = IR[5];
   this.ystep = IR[6];
   this.paintType = IR[7];
@@ -8392,7 +8392,7 @@ var TilingPattern = function TilingPatternClosure() {
    this.ctx.scale(1 / scale[0], 1 / scale[1]);
   },
   clipBbox: function clipBbox(graphics, bbox, x0, y0, x1, y1) {
-   if (bbox && isArray(bbox) && bbox.length === 4) {
+   if (isArray(bbox) && bbox.length === 4) {
     var bboxWidth = x1 - x0;
     var bboxHeight = y1 - y0;
     graphics.ctx.rect(x0, y0, bboxWidth, bboxHeight);
@@ -9855,8 +9855,8 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) {
 
 "use strict";
 
-var pdfjsVersion = '1.7.365';
-var pdfjsBuild = '2b171889';
+var pdfjsVersion = '1.7.367';
+var pdfjsBuild = 'f0c45f03';
 var pdfjsSharedUtil = __w_pdfjs_require__(0);
 var pdfjsDisplayGlobal = __w_pdfjs_require__(9);
 var pdfjsDisplayAPI = __w_pdfjs_require__(3);

File diff ditekan karena terlalu besar
+ 0 - 0
build/pdf.min.js


+ 2 - 2
build/pdf.worker.js

@@ -51075,8 +51075,8 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) {
 
 "use strict";
 
-var pdfjsVersion = '1.7.365';
-var pdfjsBuild = '2b171889';
+var pdfjsVersion = '1.7.367';
+var pdfjsBuild = 'f0c45f03';
 var pdfjsCoreWorker = __w_pdfjs_require__(8);
 {
  __w_pdfjs_require__(19);

File diff ditekan karena terlalu besar
+ 0 - 0
build/pdf.worker.min.js


+ 2 - 2
lib/display/api.js

@@ -1374,8 +1374,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
   }
  };
 }();
-exports.version = '1.7.365';
-exports.build = '2b171889';
+exports.version = '1.7.367';
+exports.build = 'f0c45f03';
 exports.getDocument = getDocument;
 exports.PDFDataRangeTransport = PDFDataRangeTransport;
 exports.PDFWorker = PDFWorker;

+ 2 - 2
lib/display/global.js

@@ -30,8 +30,8 @@ if (!globalScope.PDFJS) {
  globalScope.PDFJS = {};
 }
 var PDFJS = globalScope.PDFJS;
-PDFJS.version = '1.7.365';
-PDFJS.build = '2b171889';
+PDFJS.version = '1.7.367';
+PDFJS.build = 'f0c45f03';
 PDFJS.pdfBug = false;
 if (PDFJS.verbosity !== undefined) {
  sharedUtil.setVerbosityLevel(PDFJS.verbosity);

+ 2 - 2
lib/display/pattern_helper.js

@@ -279,7 +279,7 @@ var TilingPattern = function TilingPatternClosure() {
    0,
    0
   ];
-  this.bbox = IR[4];
+  this.bbox = Util.normalizeRect(IR[4]);
   this.xstep = IR[5];
   this.ystep = IR[6];
   this.paintType = IR[7];
@@ -363,7 +363,7 @@ var TilingPattern = function TilingPatternClosure() {
    this.ctx.scale(1 / scale[0], 1 / scale[1]);
   },
   clipBbox: function clipBbox(graphics, bbox, x0, y0, x1, y1) {
-   if (bbox && isArray(bbox) && bbox.length === 4) {
+   if (isArray(bbox) && bbox.length === 4) {
     var bboxWidth = x1 - x0;
     var bboxHeight = y1 - y0;
     graphics.ctx.rect(x0, y0, bboxWidth, bboxHeight);

+ 2 - 2
lib/pdf.js

@@ -13,8 +13,8 @@
  * limitations under the License.
  */
 'use strict';
-var pdfjsVersion = '1.7.365';
-var pdfjsBuild = '2b171889';
+var pdfjsVersion = '1.7.367';
+var pdfjsBuild = 'f0c45f03';
 var pdfjsSharedUtil = require('./shared/util.js');
 var pdfjsDisplayGlobal = require('./display/global.js');
 var pdfjsDisplayAPI = require('./display/api.js');

+ 2 - 2
lib/pdf.worker.js

@@ -13,8 +13,8 @@
  * limitations under the License.
  */
 'use strict';
-var pdfjsVersion = '1.7.365';
-var pdfjsBuild = '2b171889';
+var pdfjsVersion = '1.7.367';
+var pdfjsBuild = 'f0c45f03';
 var pdfjsCoreWorker = require('./core/worker.js');
 {
  require('./core/network.js');

+ 1 - 1
package.json

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

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini