Browse Source

PDF.js version 1.8.497 - See mozilla/pdf.js@f2fcf2a59c3372e033fc2f0ef98afa4e4690a894

master v1.8.497
pdfjsbot 8 years ago
parent
commit
354106c64c
  1. 2
      bower.json
  2. 24
      build/pdf.combined.js
  3. 2
      build/pdf.combined.js.map
  4. 24
      build/pdf.js
  5. 2
      build/pdf.js.map
  6. 4
      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. 12
      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.8.495", "version": "1.8.497",
"main": [ "main": [
"build/pdf.js", "build/pdf.js",
"build/pdf.worker.js" "build/pdf.worker.js"

24
build/pdf.combined.js

@ -13125,8 +13125,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}(); }();
var version, build; var version, build;
{ {
exports.version = version = '1.8.495'; exports.version = version = '1.8.497';
exports.build = build = 'f87f0d68'; exports.build = build = 'f2fcf2a5';
} }
exports.getDocument = getDocument; exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort; exports.LoopbackPort = LoopbackPort;
@ -13871,12 +13871,6 @@ var SVGGraphics = function SVGGraphics() {
} }
} }
current.path.setAttributeNS(null, 'd', d.join(' ')); current.path.setAttributeNS(null, 'd', d.join(' '));
current.path.setAttributeNS(null, 'stroke-miterlimit', pf(current.miterLimit));
current.path.setAttributeNS(null, 'stroke-linecap', current.lineCap);
current.path.setAttributeNS(null, 'stroke-linejoin', current.lineJoin);
current.path.setAttributeNS(null, 'stroke-width', pf(current.lineWidth) + 'px');
current.path.setAttributeNS(null, 'stroke-dasharray', current.dashArray.map(pf).join(' '));
current.path.setAttributeNS(null, 'stroke-dashoffset', pf(current.dashPhase) + 'px');
current.path.setAttributeNS(null, 'fill', 'none'); current.path.setAttributeNS(null, 'fill', 'none');
this._ensureTransformGroup().appendChild(current.path); this._ensureTransformGroup().appendChild(current.path);
current.element = current.path; current.element = current.path;
@ -13973,6 +13967,12 @@ var SVGGraphics = function SVGGraphics() {
var current = this.current; var current = this.current;
current.element.setAttributeNS(null, 'stroke', current.strokeColor); current.element.setAttributeNS(null, 'stroke', current.strokeColor);
current.element.setAttributeNS(null, 'stroke-opacity', current.strokeAlpha); current.element.setAttributeNS(null, 'stroke-opacity', current.strokeAlpha);
current.element.setAttributeNS(null, 'stroke-miterlimit', pf(current.miterLimit));
current.element.setAttributeNS(null, 'stroke-linecap', current.lineCap);
current.element.setAttributeNS(null, 'stroke-linejoin', current.lineJoin);
current.element.setAttributeNS(null, 'stroke-width', pf(current.lineWidth) + 'px');
current.element.setAttributeNS(null, 'stroke-dasharray', current.dashArray.map(pf).join(' '));
current.element.setAttributeNS(null, 'stroke-dashoffset', pf(current.dashPhase) + 'px');
current.element.setAttributeNS(null, 'fill', 'none'); current.element.setAttributeNS(null, 'fill', 'none');
}, },
eoFill: function SVGGraphics_eoFill() { eoFill: function SVGGraphics_eoFill() {
@ -28630,8 +28630,8 @@ if (!_util.globalScope.PDFJS) {
} }
var PDFJS = _util.globalScope.PDFJS; var PDFJS = _util.globalScope.PDFJS;
{ {
PDFJS.version = '1.8.495'; PDFJS.version = '1.8.497';
PDFJS.build = 'f87f0d68'; PDFJS.build = 'f2fcf2a5';
} }
PDFJS.pdfBug = false; PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) { if (PDFJS.verbosity !== undefined) {
@ -47250,8 +47250,8 @@ exports.TilingPattern = TilingPattern;
"use strict"; "use strict";
var pdfjsVersion = '1.8.495'; var pdfjsVersion = '1.8.497';
var pdfjsBuild = 'f87f0d68'; var pdfjsBuild = 'f2fcf2a5';
var pdfjsSharedUtil = __w_pdfjs_require__(0); var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(26); var pdfjsDisplayGlobal = __w_pdfjs_require__(26);
var pdfjsDisplayAPI = __w_pdfjs_require__(10); var pdfjsDisplayAPI = __w_pdfjs_require__(10);

2
build/pdf.combined.js.map

File diff suppressed because one or more lines are too long

24
build/pdf.js

@ -3854,8 +3854,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}(); }();
var version, build; var version, build;
{ {
exports.version = version = '1.8.495'; exports.version = version = '1.8.497';
exports.build = build = 'f87f0d68'; exports.build = build = 'f2fcf2a5';
} }
exports.getDocument = getDocument; exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort; exports.LoopbackPort = LoopbackPort;
@ -4600,12 +4600,6 @@ var SVGGraphics = function SVGGraphics() {
} }
} }
current.path.setAttributeNS(null, 'd', d.join(' ')); current.path.setAttributeNS(null, 'd', d.join(' '));
current.path.setAttributeNS(null, 'stroke-miterlimit', pf(current.miterLimit));
current.path.setAttributeNS(null, 'stroke-linecap', current.lineCap);
current.path.setAttributeNS(null, 'stroke-linejoin', current.lineJoin);
current.path.setAttributeNS(null, 'stroke-width', pf(current.lineWidth) + 'px');
current.path.setAttributeNS(null, 'stroke-dasharray', current.dashArray.map(pf).join(' '));
current.path.setAttributeNS(null, 'stroke-dashoffset', pf(current.dashPhase) + 'px');
current.path.setAttributeNS(null, 'fill', 'none'); current.path.setAttributeNS(null, 'fill', 'none');
this._ensureTransformGroup().appendChild(current.path); this._ensureTransformGroup().appendChild(current.path);
current.element = current.path; current.element = current.path;
@ -4702,6 +4696,12 @@ var SVGGraphics = function SVGGraphics() {
var current = this.current; var current = this.current;
current.element.setAttributeNS(null, 'stroke', current.strokeColor); current.element.setAttributeNS(null, 'stroke', current.strokeColor);
current.element.setAttributeNS(null, 'stroke-opacity', current.strokeAlpha); current.element.setAttributeNS(null, 'stroke-opacity', current.strokeAlpha);
current.element.setAttributeNS(null, 'stroke-miterlimit', pf(current.miterLimit));
current.element.setAttributeNS(null, 'stroke-linecap', current.lineCap);
current.element.setAttributeNS(null, 'stroke-linejoin', current.lineJoin);
current.element.setAttributeNS(null, 'stroke-width', pf(current.lineWidth) + 'px');
current.element.setAttributeNS(null, 'stroke-dasharray', current.dashArray.map(pf).join(' '));
current.element.setAttributeNS(null, 'stroke-dashoffset', pf(current.dashPhase) + 'px');
current.element.setAttributeNS(null, 'fill', 'none'); current.element.setAttributeNS(null, 'fill', 'none');
}, },
eoFill: function SVGGraphics_eoFill() { eoFill: function SVGGraphics_eoFill() {
@ -5912,8 +5912,8 @@ if (!_util.globalScope.PDFJS) {
} }
var PDFJS = _util.globalScope.PDFJS; var PDFJS = _util.globalScope.PDFJS;
{ {
PDFJS.version = '1.8.495'; PDFJS.version = '1.8.497';
PDFJS.build = 'f87f0d68'; PDFJS.build = 'f2fcf2a5';
} }
PDFJS.pdfBug = false; PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) { if (PDFJS.verbosity !== undefined) {
@ -11452,8 +11452,8 @@ exports.TilingPattern = TilingPattern;
"use strict"; "use strict";
var pdfjsVersion = '1.8.495'; var pdfjsVersion = '1.8.497';
var pdfjsBuild = 'f87f0d68'; var pdfjsBuild = 'f2fcf2a5';
var pdfjsSharedUtil = __w_pdfjs_require__(0); var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(9); var pdfjsDisplayGlobal = __w_pdfjs_require__(9);
var pdfjsDisplayAPI = __w_pdfjs_require__(3); var pdfjsDisplayAPI = __w_pdfjs_require__(3);

2
build/pdf.js.map

File diff suppressed because one or more lines are too long

4
build/pdf.min.js vendored

File diff suppressed because one or more lines are too long

4
build/pdf.worker.js vendored

@ -40403,8 +40403,8 @@ exports.Type1Parser = Type1Parser;
"use strict"; "use strict";
var pdfjsVersion = '1.8.495'; var pdfjsVersion = '1.8.497';
var pdfjsBuild = 'f87f0d68'; var pdfjsBuild = 'f2fcf2a5';
var pdfjsCoreWorker = __w_pdfjs_require__(8); var pdfjsCoreWorker = __w_pdfjs_require__(8);
{ {
__w_pdfjs_require__(19); __w_pdfjs_require__(19);

2
build/pdf.worker.js.map vendored

File diff suppressed because one or more lines are too long

4
lib/display/api.js

@ -1480,8 +1480,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}(); }();
var version, build; var version, build;
{ {
exports.version = version = '1.8.495'; exports.version = version = '1.8.497';
exports.build = build = 'f87f0d68'; exports.build = build = 'f2fcf2a5';
} }
exports.getDocument = getDocument; exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort; exports.LoopbackPort = LoopbackPort;

4
lib/display/global.js

@ -39,8 +39,8 @@ if (!_util.globalScope.PDFJS) {
} }
var PDFJS = _util.globalScope.PDFJS; var PDFJS = _util.globalScope.PDFJS;
{ {
PDFJS.version = '1.8.495'; PDFJS.version = '1.8.497';
PDFJS.build = 'f87f0d68'; PDFJS.build = 'f2fcf2a5';
} }
PDFJS.pdfBug = false; PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) { if (PDFJS.verbosity !== undefined) {

12
lib/display/svg.js

@ -740,12 +740,6 @@ var SVGGraphics = function SVGGraphics() {
} }
} }
current.path.setAttributeNS(null, 'd', d.join(' ')); current.path.setAttributeNS(null, 'd', d.join(' '));
current.path.setAttributeNS(null, 'stroke-miterlimit', pf(current.miterLimit));
current.path.setAttributeNS(null, 'stroke-linecap', current.lineCap);
current.path.setAttributeNS(null, 'stroke-linejoin', current.lineJoin);
current.path.setAttributeNS(null, 'stroke-width', pf(current.lineWidth) + 'px');
current.path.setAttributeNS(null, 'stroke-dasharray', current.dashArray.map(pf).join(' '));
current.path.setAttributeNS(null, 'stroke-dashoffset', pf(current.dashPhase) + 'px');
current.path.setAttributeNS(null, 'fill', 'none'); current.path.setAttributeNS(null, 'fill', 'none');
this._ensureTransformGroup().appendChild(current.path); this._ensureTransformGroup().appendChild(current.path);
current.element = current.path; current.element = current.path;
@ -842,6 +836,12 @@ var SVGGraphics = function SVGGraphics() {
var current = this.current; var current = this.current;
current.element.setAttributeNS(null, 'stroke', current.strokeColor); current.element.setAttributeNS(null, 'stroke', current.strokeColor);
current.element.setAttributeNS(null, 'stroke-opacity', current.strokeAlpha); current.element.setAttributeNS(null, 'stroke-opacity', current.strokeAlpha);
current.element.setAttributeNS(null, 'stroke-miterlimit', pf(current.miterLimit));
current.element.setAttributeNS(null, 'stroke-linecap', current.lineCap);
current.element.setAttributeNS(null, 'stroke-linejoin', current.lineJoin);
current.element.setAttributeNS(null, 'stroke-width', pf(current.lineWidth) + 'px');
current.element.setAttributeNS(null, 'stroke-dasharray', current.dashArray.map(pf).join(' '));
current.element.setAttributeNS(null, 'stroke-dashoffset', pf(current.dashPhase) + 'px');
current.element.setAttributeNS(null, 'fill', 'none'); current.element.setAttributeNS(null, 'fill', 'none');
}, },
eoFill: function SVGGraphics_eoFill() { eoFill: function SVGGraphics_eoFill() {

4
lib/pdf.js

@ -14,8 +14,8 @@
*/ */
'use strict'; 'use strict';
var pdfjsVersion = '1.8.495'; var pdfjsVersion = '1.8.497';
var pdfjsBuild = 'f87f0d68'; var pdfjsBuild = 'f2fcf2a5';
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,8 +14,8 @@
*/ */
'use strict'; 'use strict';
var pdfjsVersion = '1.8.495'; var pdfjsVersion = '1.8.497';
var pdfjsBuild = 'f87f0d68'; var pdfjsBuild = 'f2fcf2a5';
var pdfjsCoreWorker = require('./core/worker.js'); var pdfjsCoreWorker = require('./core/worker.js');
{ {
require('./core/network.js'); require('./core/network.js');

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "pdfjs-dist", "name": "pdfjs-dist",
"version": "1.8.495", "version": "1.8.497",
"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