Browse Source

PDF.js version 1.0.968

master v1.0.968
Pdf Bot 10 years ago
parent
commit
29cb896241
  1. 2
      bower.json
  2. 10
      build/pdf.combined.js
  3. 10
      build/pdf.js
  4. 4
      build/pdf.worker.js
  5. 2
      package.json

2
bower.json

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

10
build/pdf.combined.js

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.0.966'; PDFJS.version = '1.0.968';
PDFJS.build = '8a6cc44'; PDFJS.build = 'cddb870';
(function pdfjsWrapper() { (function pdfjsWrapper() {
// Use strict in our context only - users might not want it // Use strict in our context only - users might not want it
@ -3680,9 +3680,9 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
function composeSMaskLuminosity(maskData, layerData) { function composeSMaskLuminosity(maskData, layerData) {
var length = maskData.length; var length = maskData.length;
for (var i = 3; i < length; i += 4) { for (var i = 3; i < length; i += 4) {
var y = ((maskData[i - 3] * 77) + // * 0.3 / 255 * 0x10000 var y = (maskData[i - 3] * 77) + // * 0.3 / 255 * 0x10000
(maskData[i - 2] * 152) + // * 0.59 .... (maskData[i - 2] * 152) + // * 0.59 ....
(maskData[i - 1] * 28)) | 0; // * 0.11 .... (maskData[i - 1] * 28); // * 0.11 ....
layerData[i] = (layerData[i] * y) >> 16; layerData[i] = (layerData[i] * y) >> 16;
} }
} }

10
build/pdf.js

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.0.966'; PDFJS.version = '1.0.968';
PDFJS.build = '8a6cc44'; PDFJS.build = 'cddb870';
(function pdfjsWrapper() { (function pdfjsWrapper() {
// Use strict in our context only - users might not want it // Use strict in our context only - users might not want it
@ -3724,9 +3724,9 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
function composeSMaskLuminosity(maskData, layerData) { function composeSMaskLuminosity(maskData, layerData) {
var length = maskData.length; var length = maskData.length;
for (var i = 3; i < length; i += 4) { for (var i = 3; i < length; i += 4) {
var y = ((maskData[i - 3] * 77) + // * 0.3 / 255 * 0x10000 var y = (maskData[i - 3] * 77) + // * 0.3 / 255 * 0x10000
(maskData[i - 2] * 152) + // * 0.59 .... (maskData[i - 2] * 152) + // * 0.59 ....
(maskData[i - 1] * 28)) | 0; // * 0.11 .... (maskData[i - 1] * 28); // * 0.11 ....
layerData[i] = (layerData[i] * y) >> 16; layerData[i] = (layerData[i] * y) >> 16;
} }
} }

4
build/pdf.worker.js vendored

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.0.966'; PDFJS.version = '1.0.968';
PDFJS.build = '8a6cc44'; PDFJS.build = 'cddb870';
(function pdfjsWrapper() { (function pdfjsWrapper() {
// Use strict in our context only - users might not want it // Use strict in our context only - users might not want it

2
package.json

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

Loading…
Cancel
Save