From 29cb896241d79f707de57051026d7a75b53ce028 Mon Sep 17 00:00:00 2001 From: Pdf Bot Date: Fri, 5 Dec 2014 16:44:38 +0000 Subject: [PATCH] PDF.js version 1.0.968 --- bower.json | 2 +- build/pdf.combined.js | 10 +++++----- build/pdf.js | 10 +++++----- build/pdf.worker.js | 4 ++-- package.json | 2 +- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/bower.json b/bower.json index e5d9e83cf..241dbfd25 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.966", + "version": "1.0.968", "main": [ "build/pdf.js", "build/pdf.worker.js" diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 391c5a239..bb8273388 100644 --- a/build/pdf.combined.js +++ b/build/pdf.combined.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.966'; -PDFJS.build = '8a6cc44'; +PDFJS.version = '1.0.968'; +PDFJS.build = 'cddb870'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -3680,9 +3680,9 @@ var CanvasGraphics = (function CanvasGraphicsClosure() { function composeSMaskLuminosity(maskData, layerData) { var length = maskData.length; for (var i = 3; i < length; i += 4) { - var y = ((maskData[i - 3] * 77) + // * 0.3 / 255 * 0x10000 - (maskData[i - 2] * 152) + // * 0.59 .... - (maskData[i - 1] * 28)) | 0; // * 0.11 .... + var y = (maskData[i - 3] * 77) + // * 0.3 / 255 * 0x10000 + (maskData[i - 2] * 152) + // * 0.59 .... + (maskData[i - 1] * 28); // * 0.11 .... layerData[i] = (layerData[i] * y) >> 16; } } diff --git a/build/pdf.js b/build/pdf.js index a22d59db0..13e84f373 100644 --- a/build/pdf.js +++ b/build/pdf.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.966'; -PDFJS.build = '8a6cc44'; +PDFJS.version = '1.0.968'; +PDFJS.build = 'cddb870'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -3724,9 +3724,9 @@ var CanvasGraphics = (function CanvasGraphicsClosure() { function composeSMaskLuminosity(maskData, layerData) { var length = maskData.length; for (var i = 3; i < length; i += 4) { - var y = ((maskData[i - 3] * 77) + // * 0.3 / 255 * 0x10000 - (maskData[i - 2] * 152) + // * 0.59 .... - (maskData[i - 1] * 28)) | 0; // * 0.11 .... + var y = (maskData[i - 3] * 77) + // * 0.3 / 255 * 0x10000 + (maskData[i - 2] * 152) + // * 0.59 .... + (maskData[i - 1] * 28); // * 0.11 .... layerData[i] = (layerData[i] * y) >> 16; } } diff --git a/build/pdf.worker.js b/build/pdf.worker.js index 818aed2b7..01f2decc3 100644 --- a/build/pdf.worker.js +++ b/build/pdf.worker.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.966'; -PDFJS.build = '8a6cc44'; +PDFJS.version = '1.0.968'; +PDFJS.build = 'cddb870'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it diff --git a/package.json b/package.json index f67f3a02e..7295d315f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.966", + "version": "1.0.968", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla",