Browse Source

PDF.js version 1.9.575 - See mozilla/pdf.js@9c2e9dae264a7664b494361906269ae04f788b16

master v1.9.575
pdfjsbot 7 years ago
parent
commit
a126aece45
  1. 2
      bower.json
  2. 22
      build/pdf.combined.js
  3. 2
      build/pdf.combined.js.map
  4. 12
      build/pdf.js
  5. 2
      build/pdf.js.map
  6. 2
      build/pdf.min.js
  7. 14
      build/pdf.worker.js
  8. 2
      build/pdf.worker.js.map
  9. 2
      build/pdf.worker.min.js
  10. 10
      lib/core/stream.js
  11. 4
      lib/display/api.js
  12. 4
      lib/display/global.js
  13. 4
      lib/pdf.js
  14. 4
      lib/pdf.worker.js
  15. 2
      package.json

2
bower.json

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

22
build/pdf.combined.js

@ -2291,6 +2291,16 @@ var PredictorStream = function PredictorStreamClosure() { @@ -2291,6 +2291,16 @@ var PredictorStream = function PredictorStreamClosure() {
buffer[pos] = buffer[pos - colors] + rawBytes[i];
pos++;
}
} else if (bits === 16) {
var bytesPerPixel = colors * 2;
for (i = 0; i < bytesPerPixel; ++i) {
buffer[pos++] = rawBytes[i];
}
for (; i < rowBytes; i += 2) {
var sum = ((rawBytes[i] & 0xFF) << 8) + (rawBytes[i + 1] & 0xFF) + ((buffer[pos - bytesPerPixel] & 0xFF) << 8) + (buffer[pos - bytesPerPixel + 1] & 0xFF);
buffer[pos++] = sum >> 8 & 0xFF;
buffer[pos++] = sum & 0xFF;
}
} else {
var compArray = new Uint8Array(colors + 1);
var bitMask = (1 << bits) - 1;
@ -13490,8 +13500,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { @@ -13490,8 +13500,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}();
var version, build;
{
exports.version = version = '1.9.573';
exports.build = build = '50bd4a5a';
exports.version = version = '1.9.575';
exports.build = build = '9c2e9dae';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;
@ -29354,8 +29364,8 @@ exports.SVGGraphics = SVGGraphics; @@ -29354,8 +29364,8 @@ exports.SVGGraphics = SVGGraphics;
"use strict";
var pdfjsVersion = '1.9.573';
var pdfjsBuild = '50bd4a5a';
var pdfjsVersion = '1.9.575';
var pdfjsBuild = '9c2e9dae';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(98);
var pdfjsDisplayAPI = __w_pdfjs_require__(55);
@ -35217,8 +35227,8 @@ if (!_global_scope2.default.PDFJS) { @@ -35217,8 +35227,8 @@ if (!_global_scope2.default.PDFJS) {
}
var PDFJS = _global_scope2.default.PDFJS;
{
PDFJS.version = '1.9.573';
PDFJS.build = '50bd4a5a';
PDFJS.version = '1.9.575';
PDFJS.build = '9c2e9dae';
}
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {

2
build/pdf.combined.js.map

File diff suppressed because one or more lines are too long

12
build/pdf.js

@ -4204,8 +4204,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { @@ -4204,8 +4204,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}();
var version, build;
{
exports.version = version = '1.9.573';
exports.build = build = '50bd4a5a';
exports.version = version = '1.9.575';
exports.build = build = '9c2e9dae';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;
@ -7182,8 +7182,8 @@ exports.SVGGraphics = SVGGraphics; @@ -7182,8 +7182,8 @@ exports.SVGGraphics = SVGGraphics;
"use strict";
var pdfjsVersion = '1.9.573';
var pdfjsBuild = '50bd4a5a';
var pdfjsVersion = '1.9.575';
var pdfjsBuild = '9c2e9dae';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(82);
var pdfjsDisplayAPI = __w_pdfjs_require__(48);
@ -13045,8 +13045,8 @@ if (!_global_scope2.default.PDFJS) { @@ -13045,8 +13045,8 @@ if (!_global_scope2.default.PDFJS) {
}
var PDFJS = _global_scope2.default.PDFJS;
{
PDFJS.version = '1.9.573';
PDFJS.build = '50bd4a5a';
PDFJS.version = '1.9.575';
PDFJS.build = '9c2e9dae';
}
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {

2
build/pdf.js.map

File diff suppressed because one or more lines are too long

2
build/pdf.min.js vendored

File diff suppressed because one or more lines are too long

14
build/pdf.worker.js vendored

@ -2291,6 +2291,16 @@ var PredictorStream = function PredictorStreamClosure() { @@ -2291,6 +2291,16 @@ var PredictorStream = function PredictorStreamClosure() {
buffer[pos] = buffer[pos - colors] + rawBytes[i];
pos++;
}
} else if (bits === 16) {
var bytesPerPixel = colors * 2;
for (i = 0; i < bytesPerPixel; ++i) {
buffer[pos++] = rawBytes[i];
}
for (; i < rowBytes; i += 2) {
var sum = ((rawBytes[i] & 0xFF) << 8) + (rawBytes[i + 1] & 0xFF) + ((buffer[pos - bytesPerPixel] & 0xFF) << 8) + (buffer[pos - bytesPerPixel + 1] & 0xFF);
buffer[pos++] = sum >> 8 & 0xFF;
buffer[pos++] = sum & 0xFF;
}
} else {
var compArray = new Uint8Array(colors + 1);
var bitMask = (1 << bits) - 1;
@ -24529,8 +24539,8 @@ exports.getUnicodeForGlyph = getUnicodeForGlyph; @@ -24529,8 +24539,8 @@ exports.getUnicodeForGlyph = getUnicodeForGlyph;
"use strict";
var pdfjsVersion = '1.9.573';
var pdfjsBuild = '50bd4a5a';
var pdfjsVersion = '1.9.575';
var pdfjsBuild = '9c2e9dae';
var pdfjsCoreWorker = __w_pdfjs_require__(62);
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;

2
build/pdf.worker.js.map vendored

File diff suppressed because one or more lines are too long

2
build/pdf.worker.min.js vendored

File diff suppressed because one or more lines are too long

10
lib/core/stream.js

@ -567,6 +567,16 @@ var PredictorStream = function PredictorStreamClosure() { @@ -567,6 +567,16 @@ var PredictorStream = function PredictorStreamClosure() {
buffer[pos] = buffer[pos - colors] + rawBytes[i];
pos++;
}
} else if (bits === 16) {
var bytesPerPixel = colors * 2;
for (i = 0; i < bytesPerPixel; ++i) {
buffer[pos++] = rawBytes[i];
}
for (; i < rowBytes; i += 2) {
var sum = ((rawBytes[i] & 0xFF) << 8) + (rawBytes[i + 1] & 0xFF) + ((buffer[pos - bytesPerPixel] & 0xFF) << 8) + (buffer[pos - bytesPerPixel + 1] & 0xFF);
buffer[pos++] = sum >> 8 & 0xFF;
buffer[pos++] = sum & 0xFF;
}
} else {
var compArray = new Uint8Array(colors + 1);
var bitMask = (1 << bits) - 1;

4
lib/display/api.js

@ -1582,8 +1582,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { @@ -1582,8 +1582,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}();
var version, build;
{
exports.version = version = '1.9.573';
exports.build = build = '50bd4a5a';
exports.version = version = '1.9.575';
exports.build = build = '9c2e9dae';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;

4
lib/display/global.js

@ -45,8 +45,8 @@ if (!_global_scope2.default.PDFJS) { @@ -45,8 +45,8 @@ if (!_global_scope2.default.PDFJS) {
}
var PDFJS = _global_scope2.default.PDFJS;
{
PDFJS.version = '1.9.573';
PDFJS.build = '50bd4a5a';
PDFJS.version = '1.9.575';
PDFJS.build = '9c2e9dae';
}
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {

4
lib/pdf.js

@ -14,8 +14,8 @@ @@ -14,8 +14,8 @@
*/
'use strict';
var pdfjsVersion = '1.9.573';
var pdfjsBuild = '50bd4a5a';
var pdfjsVersion = '1.9.575';
var pdfjsBuild = '9c2e9dae';
var pdfjsSharedUtil = require('./shared/util.js');
var pdfjsDisplayGlobal = require('./display/global.js');
var pdfjsDisplayAPI = require('./display/api.js');

4
lib/pdf.worker.js vendored

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
*/
'use strict';
var pdfjsVersion = '1.9.573';
var pdfjsBuild = '50bd4a5a';
var pdfjsVersion = '1.9.575';
var pdfjsBuild = '9c2e9dae';
var pdfjsCoreWorker = require('./core/worker.js');
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;

2
package.json

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

Loading…
Cancel
Save