Browse Source

PDF.js version 1.9.484 - See mozilla/pdf.js@7cc72606346d7fa8b8edfbbde59cf0598ac4b98f

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

2
bower.json

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

22
build/pdf.combined.js

@ -13675,8 +13675,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}(); }();
var version, build; var version, build;
{ {
exports.version = version = '1.9.482'; exports.version = version = '1.9.484';
exports.build = build = 'a0eed974'; exports.build = build = '7cc72606';
} }
exports.getDocument = getDocument; exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort; exports.LoopbackPort = LoopbackPort;
@ -14125,6 +14125,9 @@ var SVGGraphics = function SVGGraphics() {
case _util.OPS.setTextMatrix: case _util.OPS.setTextMatrix:
this.setTextMatrix(args[0], args[1], args[2], args[3], args[4], args[5]); this.setTextMatrix(args[0], args[1], args[2], args[3], args[4], args[5]);
break; break;
case _util.OPS.setTextRise:
this.setTextRise(args[0]);
break;
case _util.OPS.setLineWidth: case _util.OPS.setLineWidth:
this.setLineWidth(args[0]); this.setLineWidth(args[0]);
break; break;
@ -14318,7 +14321,12 @@ var SVGGraphics = function SVGGraphics() {
if (current.fillColor !== SVG_DEFAULTS.fillColor) { if (current.fillColor !== SVG_DEFAULTS.fillColor) {
current.tspan.setAttributeNS(null, 'fill', current.fillColor); current.tspan.setAttributeNS(null, 'fill', current.fillColor);
} }
current.txtElement.setAttributeNS(null, 'transform', pm(current.textMatrix) + ' scale(1, -1)'); var textMatrix = current.textMatrix;
if (current.textRise !== 0) {
textMatrix = textMatrix.slice();
textMatrix[5] += current.textRise;
}
current.txtElement.setAttributeNS(null, 'transform', pm(textMatrix) + ' scale(1, -1)');
current.txtElement.setAttributeNS(XML_NS, 'xml:space', 'preserve'); current.txtElement.setAttributeNS(XML_NS, 'xml:space', 'preserve');
current.txtElement.appendChild(current.tspan); current.txtElement.appendChild(current.tspan);
current.txtgrp.appendChild(current.txtElement); current.txtgrp.appendChild(current.txtElement);
@ -29040,8 +29048,8 @@ if (!_global_scope2.default.PDFJS) {
} }
var PDFJS = _global_scope2.default.PDFJS; var PDFJS = _global_scope2.default.PDFJS;
{ {
PDFJS.version = '1.9.482'; PDFJS.version = '1.9.484';
PDFJS.build = 'a0eed974'; PDFJS.build = '7cc72606';
} }
PDFJS.pdfBug = false; PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) { if (PDFJS.verbosity !== undefined) {
@ -50347,8 +50355,8 @@ exports.PDFDataTransportStream = PDFDataTransportStream;
"use strict"; "use strict";
var pdfjsVersion = '1.9.482'; var pdfjsVersion = '1.9.484';
var pdfjsBuild = 'a0eed974'; var pdfjsBuild = '7cc72606';
var pdfjsSharedUtil = __w_pdfjs_require__(0); var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(70); var pdfjsDisplayGlobal = __w_pdfjs_require__(70);
var pdfjsDisplayAPI = __w_pdfjs_require__(37); var pdfjsDisplayAPI = __w_pdfjs_require__(37);

2
build/pdf.combined.js.map

File diff suppressed because one or more lines are too long

22
build/pdf.js

@ -4406,8 +4406,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}(); }();
var version, build; var version, build;
{ {
exports.version = version = '1.9.482'; exports.version = version = '1.9.484';
exports.build = build = 'a0eed974'; exports.build = build = '7cc72606';
} }
exports.getDocument = getDocument; exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort; exports.LoopbackPort = LoopbackPort;
@ -4856,6 +4856,9 @@ var SVGGraphics = function SVGGraphics() {
case _util.OPS.setTextMatrix: case _util.OPS.setTextMatrix:
this.setTextMatrix(args[0], args[1], args[2], args[3], args[4], args[5]); this.setTextMatrix(args[0], args[1], args[2], args[3], args[4], args[5]);
break; break;
case _util.OPS.setTextRise:
this.setTextRise(args[0]);
break;
case _util.OPS.setLineWidth: case _util.OPS.setLineWidth:
this.setLineWidth(args[0]); this.setLineWidth(args[0]);
break; break;
@ -5049,7 +5052,12 @@ var SVGGraphics = function SVGGraphics() {
if (current.fillColor !== SVG_DEFAULTS.fillColor) { if (current.fillColor !== SVG_DEFAULTS.fillColor) {
current.tspan.setAttributeNS(null, 'fill', current.fillColor); current.tspan.setAttributeNS(null, 'fill', current.fillColor);
} }
current.txtElement.setAttributeNS(null, 'transform', pm(current.textMatrix) + ' scale(1, -1)'); var textMatrix = current.textMatrix;
if (current.textRise !== 0) {
textMatrix = textMatrix.slice();
textMatrix[5] += current.textRise;
}
current.txtElement.setAttributeNS(null, 'transform', pm(textMatrix) + ' scale(1, -1)');
current.txtElement.setAttributeNS(XML_NS, 'xml:space', 'preserve'); current.txtElement.setAttributeNS(XML_NS, 'xml:space', 'preserve');
current.txtElement.appendChild(current.tspan); current.txtElement.appendChild(current.tspan);
current.txtgrp.appendChild(current.txtElement); current.txtgrp.appendChild(current.txtElement);
@ -6892,8 +6900,8 @@ if (!_global_scope2.default.PDFJS) {
} }
var PDFJS = _global_scope2.default.PDFJS; var PDFJS = _global_scope2.default.PDFJS;
{ {
PDFJS.version = '1.9.482'; PDFJS.version = '1.9.484';
PDFJS.build = 'a0eed974'; PDFJS.build = '7cc72606';
} }
PDFJS.pdfBug = false; PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) { if (PDFJS.verbosity !== undefined) {
@ -14795,8 +14803,8 @@ exports.PDFDataTransportStream = PDFDataTransportStream;
"use strict"; "use strict";
var pdfjsVersion = '1.9.482'; var pdfjsVersion = '1.9.484';
var pdfjsBuild = 'a0eed974'; var pdfjsBuild = '7cc72606';
var pdfjsSharedUtil = __w_pdfjs_require__(0); var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(54); var pdfjsDisplayGlobal = __w_pdfjs_require__(54);
var pdfjsDisplayAPI = __w_pdfjs_require__(30); var pdfjsDisplayAPI = __w_pdfjs_require__(30);

2
build/pdf.js.map

File diff suppressed because one or more lines are too long

18
build/pdf.min.js vendored

File diff suppressed because one or more lines are too long

4
build/pdf.worker.js vendored

@ -42145,8 +42145,8 @@ exports.Type1Parser = Type1Parser;
"use strict"; "use strict";
var pdfjsVersion = '1.9.482'; var pdfjsVersion = '1.9.484';
var pdfjsBuild = 'a0eed974'; var pdfjsBuild = '7cc72606';
var pdfjsCoreWorker = __w_pdfjs_require__(61); var pdfjsCoreWorker = __w_pdfjs_require__(61);
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler; exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;

2
build/pdf.worker.js.map vendored

File diff suppressed because one or more lines are too long

4
lib/display/api.js

@ -1581,8 +1581,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}(); }();
var version, build; var version, build;
{ {
exports.version = version = '1.9.482'; exports.version = version = '1.9.484';
exports.build = build = 'a0eed974'; exports.build = build = '7cc72606';
} }
exports.getDocument = getDocument; exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort; exports.LoopbackPort = LoopbackPort;

4
lib/display/global.js

@ -45,8 +45,8 @@ if (!_global_scope2.default.PDFJS) {
} }
var PDFJS = _global_scope2.default.PDFJS; var PDFJS = _global_scope2.default.PDFJS;
{ {
PDFJS.version = '1.9.482'; PDFJS.version = '1.9.484';
PDFJS.build = 'a0eed974'; PDFJS.build = '7cc72606';
} }
PDFJS.pdfBug = false; PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) { if (PDFJS.verbosity !== undefined) {

10
lib/display/svg.js

@ -443,6 +443,9 @@ var SVGGraphics = function SVGGraphics() {
case _util.OPS.setTextMatrix: case _util.OPS.setTextMatrix:
this.setTextMatrix(args[0], args[1], args[2], args[3], args[4], args[5]); this.setTextMatrix(args[0], args[1], args[2], args[3], args[4], args[5]);
break; break;
case _util.OPS.setTextRise:
this.setTextRise(args[0]);
break;
case _util.OPS.setLineWidth: case _util.OPS.setLineWidth:
this.setLineWidth(args[0]); this.setLineWidth(args[0]);
break; break;
@ -636,7 +639,12 @@ var SVGGraphics = function SVGGraphics() {
if (current.fillColor !== SVG_DEFAULTS.fillColor) { if (current.fillColor !== SVG_DEFAULTS.fillColor) {
current.tspan.setAttributeNS(null, 'fill', current.fillColor); current.tspan.setAttributeNS(null, 'fill', current.fillColor);
} }
current.txtElement.setAttributeNS(null, 'transform', pm(current.textMatrix) + ' scale(1, -1)'); var textMatrix = current.textMatrix;
if (current.textRise !== 0) {
textMatrix = textMatrix.slice();
textMatrix[5] += current.textRise;
}
current.txtElement.setAttributeNS(null, 'transform', pm(textMatrix) + ' scale(1, -1)');
current.txtElement.setAttributeNS(XML_NS, 'xml:space', 'preserve'); current.txtElement.setAttributeNS(XML_NS, 'xml:space', 'preserve');
current.txtElement.appendChild(current.tspan); current.txtElement.appendChild(current.tspan);
current.txtgrp.appendChild(current.txtElement); current.txtgrp.appendChild(current.txtElement);

4
lib/pdf.js

@ -14,8 +14,8 @@
*/ */
'use strict'; 'use strict';
var pdfjsVersion = '1.9.482'; var pdfjsVersion = '1.9.484';
var pdfjsBuild = 'a0eed974'; var pdfjsBuild = '7cc72606';
var pdfjsSharedUtil = require('./shared/util.js'); var pdfjsSharedUtil = require('./shared/util.js');
var pdfjsDisplayGlobal = require('./display/global.js'); var pdfjsDisplayGlobal = require('./display/global.js');
var pdfjsDisplayAPI = require('./display/api.js'); var pdfjsDisplayAPI = require('./display/api.js');

4
lib/pdf.worker.js vendored

@ -14,7 +14,7 @@
*/ */
'use strict'; 'use strict';
var pdfjsVersion = '1.9.482'; var pdfjsVersion = '1.9.484';
var pdfjsBuild = 'a0eed974'; var pdfjsBuild = '7cc72606';
var pdfjsCoreWorker = require('./core/worker.js'); var pdfjsCoreWorker = require('./core/worker.js');
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler; exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;

2
package.json

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

Loading…
Cancel
Save