Explorar o código

PDF.js version 1.0.970

Pdf Bot %!s(int64=10) %!d(string=hai) anos
pai
achega
41e966b641
Modificáronse 5 ficheiros con 10 adicións e 10 borrados
  1. 1 1
      bower.json
  2. 3 3
      build/pdf.combined.js
  3. 3 3
      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.0.968",
+  "version": "1.0.970",
   "main": [
     "build/pdf.js",
     "build/pdf.worker.js"

+ 3 - 3
build/pdf.combined.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.968';
-PDFJS.build = 'cddb870';
+PDFJS.version = '1.0.970';
+PDFJS.build = 'a3df129';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -3702,7 +3702,7 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
     }
 
     // processing image in chunks to save memory
-    var PIXELS_TO_PROCESS = 65536;
+    var PIXELS_TO_PROCESS = 1048576;
     var chunkSize = Math.min(height, Math.ceil(PIXELS_TO_PROCESS / width));
     for (var row = 0; row < height; row += chunkSize) {
       var chunkHeight = Math.min(chunkSize, height - row);

+ 3 - 3
build/pdf.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.968';
-PDFJS.build = 'cddb870';
+PDFJS.version = '1.0.970';
+PDFJS.build = 'a3df129';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -3746,7 +3746,7 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
     }
 
     // processing image in chunks to save memory
-    var PIXELS_TO_PROCESS = 65536;
+    var PIXELS_TO_PROCESS = 1048576;
     var chunkSize = Math.min(height, Math.ceil(PIXELS_TO_PROCESS / width));
     for (var row = 0; row < height; row += chunkSize) {
       var chunkHeight = Math.min(chunkSize, height - row);

+ 2 - 2
build/pdf.worker.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.968';
-PDFJS.build = 'cddb870';
+PDFJS.version = '1.0.970';
+PDFJS.build = 'a3df129';
 
 (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.0.968",
+  "version": "1.0.970",
   "description": "Generic build of Mozilla's PDF.js library.",
   "keywords": [
     "Mozilla",