Browse Source

PDF.js version 1.8.492 - See mozilla/pdf.js@859e3d4dce2267a2c733f68354224a2f1efa0e2b

master v1.8.492
pdfjsbot 8 years ago
parent
commit
1b61dd2e2d
  1. 2
      bower.json
  2. 31
      build/pdf.combined.js
  3. 2
      build/pdf.combined.js.map
  4. 31
      build/pdf.js
  5. 2
      build/pdf.js.map
  6. 12
      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. 19
      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.489", "version": "1.8.492",
"main": [ "main": [
"build/pdf.js", "build/pdf.js",
"build/pdf.worker.js" "build/pdf.worker.js"

31
build/pdf.combined.js

@ -13125,8 +13125,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}(); }();
var version, build; var version, build;
{ {
exports.version = version = '1.8.489'; exports.version = version = '1.8.492';
exports.build = build = 'd3a3b1db'; exports.build = build = '859e3d4d';
} }
exports.getDocument = getDocument; exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort; exports.LoopbackPort = LoopbackPort;
@ -13799,10 +13799,16 @@ var SVGGraphics = function SVGGraphics() {
setMiterLimit: function SVGGraphics_setMiterLimit(limit) { setMiterLimit: function SVGGraphics_setMiterLimit(limit) {
this.current.miterLimit = limit; this.current.miterLimit = limit;
}, },
setStrokeAlpha: function SVGGraphics_setStrokeAlpha(strokeAlpha) {
this.current.strokeAlpha = strokeAlpha;
},
setStrokeRGBColor: function SVGGraphics_setStrokeRGBColor(r, g, b) { setStrokeRGBColor: function SVGGraphics_setStrokeRGBColor(r, g, b) {
var color = _util.Util.makeCssRgb(r, g, b); var color = _util.Util.makeCssRgb(r, g, b);
this.current.strokeColor = color; this.current.strokeColor = color;
}, },
setFillAlpha: function SVGGraphics_setFillAlpha(fillAlpha) {
this.current.fillAlpha = fillAlpha;
},
setFillRGBColor: function SVGGraphics_setFillRGBColor(r, g, b) { setFillRGBColor: function SVGGraphics_setFillRGBColor(r, g, b) {
var color = _util.Util.makeCssRgb(r, g, b); var color = _util.Util.makeCssRgb(r, g, b);
this.current.fillColor = color; this.current.fillColor = color;
@ -13946,6 +13952,12 @@ var SVGGraphics = function SVGGraphics() {
case 'Font': case 'Font':
this.setFont(value); this.setFont(value);
break; break;
case 'CA':
this.setStrokeAlpha(value);
break;
case 'ca':
this.setFillAlpha(value);
break;
default: default:
(0, _util.warn)('Unimplemented graphic state ' + key); (0, _util.warn)('Unimplemented graphic state ' + key);
break; break;
@ -13955,16 +13967,17 @@ var SVGGraphics = function SVGGraphics() {
fill: function SVGGraphics_fill() { fill: function SVGGraphics_fill() {
var current = this.current; var current = this.current;
current.element.setAttributeNS(null, 'fill', current.fillColor); current.element.setAttributeNS(null, 'fill', current.fillColor);
current.element.setAttributeNS(null, 'fill-opacity', current.fillAlpha);
}, },
stroke: function SVGGraphics_stroke() { stroke: function SVGGraphics_stroke() {
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, 'fill', 'none'); current.element.setAttributeNS(null, 'fill', 'none');
}, },
eoFill: function SVGGraphics_eoFill() { eoFill: function SVGGraphics_eoFill() {
var current = this.current; this.current.element.setAttributeNS(null, 'fill-rule', 'evenodd');
current.element.setAttributeNS(null, 'fill', current.fillColor); this.fill();
current.element.setAttributeNS(null, 'fill-rule', 'evenodd');
}, },
fillStroke: function SVGGraphics_fillStroke() { fillStroke: function SVGGraphics_fillStroke() {
this.stroke(); this.stroke();
@ -28617,8 +28630,8 @@ if (!_util.globalScope.PDFJS) {
} }
var PDFJS = _util.globalScope.PDFJS; var PDFJS = _util.globalScope.PDFJS;
{ {
PDFJS.version = '1.8.489'; PDFJS.version = '1.8.492';
PDFJS.build = 'd3a3b1db'; PDFJS.build = '859e3d4d';
} }
PDFJS.pdfBug = false; PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) { if (PDFJS.verbosity !== undefined) {
@ -47237,8 +47250,8 @@ exports.TilingPattern = TilingPattern;
"use strict"; "use strict";
var pdfjsVersion = '1.8.489'; var pdfjsVersion = '1.8.492';
var pdfjsBuild = 'd3a3b1db'; var pdfjsBuild = '859e3d4d';
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

31
build/pdf.js

@ -3854,8 +3854,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}(); }();
var version, build; var version, build;
{ {
exports.version = version = '1.8.489'; exports.version = version = '1.8.492';
exports.build = build = 'd3a3b1db'; exports.build = build = '859e3d4d';
} }
exports.getDocument = getDocument; exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort; exports.LoopbackPort = LoopbackPort;
@ -4528,10 +4528,16 @@ var SVGGraphics = function SVGGraphics() {
setMiterLimit: function SVGGraphics_setMiterLimit(limit) { setMiterLimit: function SVGGraphics_setMiterLimit(limit) {
this.current.miterLimit = limit; this.current.miterLimit = limit;
}, },
setStrokeAlpha: function SVGGraphics_setStrokeAlpha(strokeAlpha) {
this.current.strokeAlpha = strokeAlpha;
},
setStrokeRGBColor: function SVGGraphics_setStrokeRGBColor(r, g, b) { setStrokeRGBColor: function SVGGraphics_setStrokeRGBColor(r, g, b) {
var color = _util.Util.makeCssRgb(r, g, b); var color = _util.Util.makeCssRgb(r, g, b);
this.current.strokeColor = color; this.current.strokeColor = color;
}, },
setFillAlpha: function SVGGraphics_setFillAlpha(fillAlpha) {
this.current.fillAlpha = fillAlpha;
},
setFillRGBColor: function SVGGraphics_setFillRGBColor(r, g, b) { setFillRGBColor: function SVGGraphics_setFillRGBColor(r, g, b) {
var color = _util.Util.makeCssRgb(r, g, b); var color = _util.Util.makeCssRgb(r, g, b);
this.current.fillColor = color; this.current.fillColor = color;
@ -4675,6 +4681,12 @@ var SVGGraphics = function SVGGraphics() {
case 'Font': case 'Font':
this.setFont(value); this.setFont(value);
break; break;
case 'CA':
this.setStrokeAlpha(value);
break;
case 'ca':
this.setFillAlpha(value);
break;
default: default:
(0, _util.warn)('Unimplemented graphic state ' + key); (0, _util.warn)('Unimplemented graphic state ' + key);
break; break;
@ -4684,16 +4696,17 @@ var SVGGraphics = function SVGGraphics() {
fill: function SVGGraphics_fill() { fill: function SVGGraphics_fill() {
var current = this.current; var current = this.current;
current.element.setAttributeNS(null, 'fill', current.fillColor); current.element.setAttributeNS(null, 'fill', current.fillColor);
current.element.setAttributeNS(null, 'fill-opacity', current.fillAlpha);
}, },
stroke: function SVGGraphics_stroke() { stroke: function SVGGraphics_stroke() {
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, 'fill', 'none'); current.element.setAttributeNS(null, 'fill', 'none');
}, },
eoFill: function SVGGraphics_eoFill() { eoFill: function SVGGraphics_eoFill() {
var current = this.current; this.current.element.setAttributeNS(null, 'fill-rule', 'evenodd');
current.element.setAttributeNS(null, 'fill', current.fillColor); this.fill();
current.element.setAttributeNS(null, 'fill-rule', 'evenodd');
}, },
fillStroke: function SVGGraphics_fillStroke() { fillStroke: function SVGGraphics_fillStroke() {
this.stroke(); this.stroke();
@ -5899,8 +5912,8 @@ if (!_util.globalScope.PDFJS) {
} }
var PDFJS = _util.globalScope.PDFJS; var PDFJS = _util.globalScope.PDFJS;
{ {
PDFJS.version = '1.8.489'; PDFJS.version = '1.8.492';
PDFJS.build = 'd3a3b1db'; PDFJS.build = '859e3d4d';
} }
PDFJS.pdfBug = false; PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) { if (PDFJS.verbosity !== undefined) {
@ -11439,8 +11452,8 @@ exports.TilingPattern = TilingPattern;
"use strict"; "use strict";
var pdfjsVersion = '1.8.489'; var pdfjsVersion = '1.8.492';
var pdfjsBuild = 'd3a3b1db'; var pdfjsBuild = '859e3d4d';
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

12
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.489'; var pdfjsVersion = '1.8.492';
var pdfjsBuild = 'd3a3b1db'; var pdfjsBuild = '859e3d4d';
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.489'; exports.version = version = '1.8.492';
exports.build = build = 'd3a3b1db'; exports.build = build = '859e3d4d';
} }
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.489'; PDFJS.version = '1.8.492';
PDFJS.build = 'd3a3b1db'; PDFJS.build = '859e3d4d';
} }
PDFJS.pdfBug = false; PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) { if (PDFJS.verbosity !== undefined) {

19
lib/display/svg.js

@ -668,10 +668,16 @@ var SVGGraphics = function SVGGraphics() {
setMiterLimit: function SVGGraphics_setMiterLimit(limit) { setMiterLimit: function SVGGraphics_setMiterLimit(limit) {
this.current.miterLimit = limit; this.current.miterLimit = limit;
}, },
setStrokeAlpha: function SVGGraphics_setStrokeAlpha(strokeAlpha) {
this.current.strokeAlpha = strokeAlpha;
},
setStrokeRGBColor: function SVGGraphics_setStrokeRGBColor(r, g, b) { setStrokeRGBColor: function SVGGraphics_setStrokeRGBColor(r, g, b) {
var color = _util.Util.makeCssRgb(r, g, b); var color = _util.Util.makeCssRgb(r, g, b);
this.current.strokeColor = color; this.current.strokeColor = color;
}, },
setFillAlpha: function SVGGraphics_setFillAlpha(fillAlpha) {
this.current.fillAlpha = fillAlpha;
},
setFillRGBColor: function SVGGraphics_setFillRGBColor(r, g, b) { setFillRGBColor: function SVGGraphics_setFillRGBColor(r, g, b) {
var color = _util.Util.makeCssRgb(r, g, b); var color = _util.Util.makeCssRgb(r, g, b);
this.current.fillColor = color; this.current.fillColor = color;
@ -815,6 +821,12 @@ var SVGGraphics = function SVGGraphics() {
case 'Font': case 'Font':
this.setFont(value); this.setFont(value);
break; break;
case 'CA':
this.setStrokeAlpha(value);
break;
case 'ca':
this.setFillAlpha(value);
break;
default: default:
(0, _util.warn)('Unimplemented graphic state ' + key); (0, _util.warn)('Unimplemented graphic state ' + key);
break; break;
@ -824,16 +836,17 @@ var SVGGraphics = function SVGGraphics() {
fill: function SVGGraphics_fill() { fill: function SVGGraphics_fill() {
var current = this.current; var current = this.current;
current.element.setAttributeNS(null, 'fill', current.fillColor); current.element.setAttributeNS(null, 'fill', current.fillColor);
current.element.setAttributeNS(null, 'fill-opacity', current.fillAlpha);
}, },
stroke: function SVGGraphics_stroke() { stroke: function SVGGraphics_stroke() {
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, 'fill', 'none'); current.element.setAttributeNS(null, 'fill', 'none');
}, },
eoFill: function SVGGraphics_eoFill() { eoFill: function SVGGraphics_eoFill() {
var current = this.current; this.current.element.setAttributeNS(null, 'fill-rule', 'evenodd');
current.element.setAttributeNS(null, 'fill', current.fillColor); this.fill();
current.element.setAttributeNS(null, 'fill-rule', 'evenodd');
}, },
fillStroke: function SVGGraphics_fillStroke() { fillStroke: function SVGGraphics_fillStroke() {
this.stroke(); this.stroke();

4
lib/pdf.js

@ -14,8 +14,8 @@
*/ */
'use strict'; 'use strict';
var pdfjsVersion = '1.8.489'; var pdfjsVersion = '1.8.492';
var pdfjsBuild = 'd3a3b1db'; var pdfjsBuild = '859e3d4d';
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.489'; var pdfjsVersion = '1.8.492';
var pdfjsBuild = 'd3a3b1db'; var pdfjsBuild = '859e3d4d';
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.489", "version": "1.8.492",
"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