Browse Source

PDF.js version 1.9.577 - See mozilla/pdf.js@fbd6e47aaf042213fc1fa568f6f2fc4069820e0e

master v1.9.577
pdfjsbot 7 years ago
parent
commit
2548707b8e
  1. 2
      bower.json
  2. 20
      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. 12
      build/pdf.worker.js
  8. 2
      build/pdf.worker.js.map
  9. 2
      build/pdf.worker.min.js
  10. 8
      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.575",
"version": "1.9.577",
"main": [
"build/pdf.js",
"build/pdf.worker.js"

20
build/pdf.combined.js

@ -2820,6 +2820,7 @@ var CCITTFaxStream = function CCITTFaxStreamClosure() { @@ -2820,6 +2820,7 @@ var CCITTFaxStream = function CCITTFaxStreamClosure() {
this.inputBits = 0;
this.inputBuf = 0;
this.outputBits = 0;
this.rowsDone = false;
var code1;
while ((code1 = this.lookBits(12)) === 0) {
this.eatBits(1);
@ -2889,6 +2890,9 @@ var CCITTFaxStream = function CCITTFaxStreamClosure() { @@ -2889,6 +2890,9 @@ var CCITTFaxStream = function CCITTFaxStreamClosure() {
var columns = this.columns;
var refPos, blackPixels, bits, i;
if (this.outputBits === 0) {
if (this.rowsDone) {
this.eof = true;
}
if (this.eof) {
return null;
}
@ -3054,7 +3058,7 @@ var CCITTFaxStream = function CCITTFaxStreamClosure() { @@ -3054,7 +3058,7 @@ var CCITTFaxStream = function CCITTFaxStreamClosure() {
this.inputBits &= ~7;
}
if (!this.eoblock && this.row === this.rows - 1) {
this.eof = true;
this.rowsDone = true;
} else {
code1 = this.lookBits(12);
if (this.eoline) {
@ -3075,7 +3079,7 @@ var CCITTFaxStream = function CCITTFaxStreamClosure() { @@ -3075,7 +3079,7 @@ var CCITTFaxStream = function CCITTFaxStreamClosure() {
this.eof = true;
}
}
if (!this.eof && this.encoding > 0) {
if (!this.eof && this.encoding > 0 && !this.rowsDone) {
this.nextLine2D = !this.lookBits(1);
this.eatBits(1);
}
@ -13500,8 +13504,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { @@ -13500,8 +13504,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}();
var version, build;
{
exports.version = version = '1.9.575';
exports.build = build = '9c2e9dae';
exports.version = version = '1.9.577';
exports.build = build = 'fbd6e47a';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;
@ -29364,8 +29368,8 @@ exports.SVGGraphics = SVGGraphics; @@ -29364,8 +29368,8 @@ exports.SVGGraphics = SVGGraphics;
"use strict";
var pdfjsVersion = '1.9.575';
var pdfjsBuild = '9c2e9dae';
var pdfjsVersion = '1.9.577';
var pdfjsBuild = 'fbd6e47a';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(98);
var pdfjsDisplayAPI = __w_pdfjs_require__(55);
@ -35227,8 +35231,8 @@ if (!_global_scope2.default.PDFJS) { @@ -35227,8 +35231,8 @@ if (!_global_scope2.default.PDFJS) {
}
var PDFJS = _global_scope2.default.PDFJS;
{
PDFJS.version = '1.9.575';
PDFJS.build = '9c2e9dae';
PDFJS.version = '1.9.577';
PDFJS.build = 'fbd6e47a';
}
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.575';
exports.build = build = '9c2e9dae';
exports.version = version = '1.9.577';
exports.build = build = 'fbd6e47a';
}
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.575';
var pdfjsBuild = '9c2e9dae';
var pdfjsVersion = '1.9.577';
var pdfjsBuild = 'fbd6e47a';
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.575';
PDFJS.build = '9c2e9dae';
PDFJS.version = '1.9.577';
PDFJS.build = 'fbd6e47a';
}
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

12
build/pdf.worker.js vendored

@ -2820,6 +2820,7 @@ var CCITTFaxStream = function CCITTFaxStreamClosure() { @@ -2820,6 +2820,7 @@ var CCITTFaxStream = function CCITTFaxStreamClosure() {
this.inputBits = 0;
this.inputBuf = 0;
this.outputBits = 0;
this.rowsDone = false;
var code1;
while ((code1 = this.lookBits(12)) === 0) {
this.eatBits(1);
@ -2889,6 +2890,9 @@ var CCITTFaxStream = function CCITTFaxStreamClosure() { @@ -2889,6 +2890,9 @@ var CCITTFaxStream = function CCITTFaxStreamClosure() {
var columns = this.columns;
var refPos, blackPixels, bits, i;
if (this.outputBits === 0) {
if (this.rowsDone) {
this.eof = true;
}
if (this.eof) {
return null;
}
@ -3054,7 +3058,7 @@ var CCITTFaxStream = function CCITTFaxStreamClosure() { @@ -3054,7 +3058,7 @@ var CCITTFaxStream = function CCITTFaxStreamClosure() {
this.inputBits &= ~7;
}
if (!this.eoblock && this.row === this.rows - 1) {
this.eof = true;
this.rowsDone = true;
} else {
code1 = this.lookBits(12);
if (this.eoline) {
@ -3075,7 +3079,7 @@ var CCITTFaxStream = function CCITTFaxStreamClosure() { @@ -3075,7 +3079,7 @@ var CCITTFaxStream = function CCITTFaxStreamClosure() {
this.eof = true;
}
}
if (!this.eof && this.encoding > 0) {
if (!this.eof && this.encoding > 0 && !this.rowsDone) {
this.nextLine2D = !this.lookBits(1);
this.eatBits(1);
}
@ -24539,8 +24543,8 @@ exports.getUnicodeForGlyph = getUnicodeForGlyph; @@ -24539,8 +24543,8 @@ exports.getUnicodeForGlyph = getUnicodeForGlyph;
"use strict";
var pdfjsVersion = '1.9.575';
var pdfjsBuild = '9c2e9dae';
var pdfjsVersion = '1.9.577';
var pdfjsBuild = 'fbd6e47a';
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

8
lib/core/stream.js

@ -1096,6 +1096,7 @@ var CCITTFaxStream = function CCITTFaxStreamClosure() { @@ -1096,6 +1096,7 @@ var CCITTFaxStream = function CCITTFaxStreamClosure() {
this.inputBits = 0;
this.inputBuf = 0;
this.outputBits = 0;
this.rowsDone = false;
var code1;
while ((code1 = this.lookBits(12)) === 0) {
this.eatBits(1);
@ -1165,6 +1166,9 @@ var CCITTFaxStream = function CCITTFaxStreamClosure() { @@ -1165,6 +1166,9 @@ var CCITTFaxStream = function CCITTFaxStreamClosure() {
var columns = this.columns;
var refPos, blackPixels, bits, i;
if (this.outputBits === 0) {
if (this.rowsDone) {
this.eof = true;
}
if (this.eof) {
return null;
}
@ -1330,7 +1334,7 @@ var CCITTFaxStream = function CCITTFaxStreamClosure() { @@ -1330,7 +1334,7 @@ var CCITTFaxStream = function CCITTFaxStreamClosure() {
this.inputBits &= ~7;
}
if (!this.eoblock && this.row === this.rows - 1) {
this.eof = true;
this.rowsDone = true;
} else {
code1 = this.lookBits(12);
if (this.eoline) {
@ -1351,7 +1355,7 @@ var CCITTFaxStream = function CCITTFaxStreamClosure() { @@ -1351,7 +1355,7 @@ var CCITTFaxStream = function CCITTFaxStreamClosure() {
this.eof = true;
}
}
if (!this.eof && this.encoding > 0) {
if (!this.eof && this.encoding > 0 && !this.rowsDone) {
this.nextLine2D = !this.lookBits(1);
this.eatBits(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.575';
exports.build = build = '9c2e9dae';
exports.version = version = '1.9.577';
exports.build = build = 'fbd6e47a';
}
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.575';
PDFJS.build = '9c2e9dae';
PDFJS.version = '1.9.577';
PDFJS.build = 'fbd6e47a';
}
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.575';
var pdfjsBuild = '9c2e9dae';
var pdfjsVersion = '1.9.577';
var pdfjsBuild = 'fbd6e47a';
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.575';
var pdfjsBuild = '9c2e9dae';
var pdfjsVersion = '1.9.577';
var pdfjsBuild = 'fbd6e47a';
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.575",
"version": "1.9.577",
"main": "build/pdf.js",
"description": "Generic build of Mozilla's PDF.js library.",
"keywords": [

Loading…
Cancel
Save