Browse Source

PDF.js version 1.8.478 - See mozilla/pdf.js@c6ee05f7e5df878a2c2d78038e3069e1a7ea3b9d

master v1.8.478
pdfjsbot 8 years ago
parent
commit
938fc051d3
  1. 2
      bower.json
  2. 26
      build/pdf.combined.js
  3. 2
      build/pdf.combined.js.map
  4. 26
      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. 14
      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 @@ @@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.8.476",
"version": "1.8.478",
"main": [
"build/pdf.js",
"build/pdf.worker.js"

26
build/pdf.combined.js

@ -13077,8 +13077,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { @@ -13077,8 +13077,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}();
var version, build;
{
exports.version = version = '1.8.476';
exports.build = build = '36fb3686';
exports.version = version = '1.8.478';
exports.build = build = 'c6ee05f7';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;
@ -13365,6 +13365,7 @@ var SVGGraphics = function SVGGraphics() { @@ -13365,6 +13365,7 @@ var SVGGraphics = function SVGGraphics() {
this.extraStack = [];
this.commonObjs = commonObjs;
this.objs = objs;
this.pendingClip = null;
this.pendingEOFill = false;
this.embedFonts = false;
this.embeddedFonts = Object.create(null);
@ -13388,6 +13389,7 @@ var SVGGraphics = function SVGGraphics() { @@ -13388,6 +13389,7 @@ var SVGGraphics = function SVGGraphics() {
restore: function SVGGraphics_restore() {
this.transformMatrix = this.transformStack.pop();
this.current = this.extraStack.pop();
this.pendingClip = null;
this.tgrp = null;
},
group: function SVGGraphics_group(items) {
@ -13826,8 +13828,10 @@ var SVGGraphics = function SVGGraphics() { @@ -13826,8 +13828,10 @@ var SVGGraphics = function SVGGraphics() {
current.element = current.path;
current.setCurrentPoint(x, y);
},
endPath: function SVGGraphics_endPath() {},
clip: function SVGGraphics_clip(type) {
endPath: function SVGGraphics_endPath() {
if (!this.pendingClip) {
return;
}
var current = this.current;
var clipId = 'clippath' + clipCount;
clipCount++;
@ -13835,11 +13839,12 @@ var SVGGraphics = function SVGGraphics() { @@ -13835,11 +13839,12 @@ var SVGGraphics = function SVGGraphics() {
clipPath.setAttributeNS(null, 'id', clipId);
clipPath.setAttributeNS(null, 'transform', pm(this.transformMatrix));
var clipElement = current.element.cloneNode();
if (type === 'evenodd') {
if (this.pendingClip === 'evenodd') {
clipElement.setAttributeNS(null, 'clip-rule', 'evenodd');
} else {
clipElement.setAttributeNS(null, 'clip-rule', 'nonzero');
}
this.pendingClip = null;
clipPath.appendChild(clipElement);
this.defs.appendChild(clipPath);
if (current.activeClipUrl) {
@ -13851,6 +13856,9 @@ var SVGGraphics = function SVGGraphics() { @@ -13851,6 +13856,9 @@ var SVGGraphics = function SVGGraphics() {
current.activeClipUrl = 'url(#' + clipId + ')';
this.tgrp = null;
},
clip: function SVGGraphics_clip(type) {
this.pendingClip = type;
},
closePath: function SVGGraphics_closePath() {
var current = this.current;
var d = current.path.getAttributeNS(null, 'd');
@ -28425,8 +28433,8 @@ if (!_util.globalScope.PDFJS) { @@ -28425,8 +28433,8 @@ if (!_util.globalScope.PDFJS) {
}
var PDFJS = _util.globalScope.PDFJS;
{
PDFJS.version = '1.8.476';
PDFJS.build = '36fb3686';
PDFJS.version = '1.8.478';
PDFJS.build = 'c6ee05f7';
}
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {
@ -47043,8 +47051,8 @@ exports.TilingPattern = TilingPattern; @@ -47043,8 +47051,8 @@ exports.TilingPattern = TilingPattern;
"use strict";
var pdfjsVersion = '1.8.476';
var pdfjsBuild = '36fb3686';
var pdfjsVersion = '1.8.478';
var pdfjsBuild = 'c6ee05f7';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(26);
var pdfjsDisplayAPI = __w_pdfjs_require__(10);

2
build/pdf.combined.js.map

File diff suppressed because one or more lines are too long

26
build/pdf.js

@ -3806,8 +3806,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { @@ -3806,8 +3806,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}();
var version, build;
{
exports.version = version = '1.8.476';
exports.build = build = '36fb3686';
exports.version = version = '1.8.478';
exports.build = build = 'c6ee05f7';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;
@ -4094,6 +4094,7 @@ var SVGGraphics = function SVGGraphics() { @@ -4094,6 +4094,7 @@ var SVGGraphics = function SVGGraphics() {
this.extraStack = [];
this.commonObjs = commonObjs;
this.objs = objs;
this.pendingClip = null;
this.pendingEOFill = false;
this.embedFonts = false;
this.embeddedFonts = Object.create(null);
@ -4117,6 +4118,7 @@ var SVGGraphics = function SVGGraphics() { @@ -4117,6 +4118,7 @@ var SVGGraphics = function SVGGraphics() {
restore: function SVGGraphics_restore() {
this.transformMatrix = this.transformStack.pop();
this.current = this.extraStack.pop();
this.pendingClip = null;
this.tgrp = null;
},
group: function SVGGraphics_group(items) {
@ -4555,8 +4557,10 @@ var SVGGraphics = function SVGGraphics() { @@ -4555,8 +4557,10 @@ var SVGGraphics = function SVGGraphics() {
current.element = current.path;
current.setCurrentPoint(x, y);
},
endPath: function SVGGraphics_endPath() {},
clip: function SVGGraphics_clip(type) {
endPath: function SVGGraphics_endPath() {
if (!this.pendingClip) {
return;
}
var current = this.current;
var clipId = 'clippath' + clipCount;
clipCount++;
@ -4564,11 +4568,12 @@ var SVGGraphics = function SVGGraphics() { @@ -4564,11 +4568,12 @@ var SVGGraphics = function SVGGraphics() {
clipPath.setAttributeNS(null, 'id', clipId);
clipPath.setAttributeNS(null, 'transform', pm(this.transformMatrix));
var clipElement = current.element.cloneNode();
if (type === 'evenodd') {
if (this.pendingClip === 'evenodd') {
clipElement.setAttributeNS(null, 'clip-rule', 'evenodd');
} else {
clipElement.setAttributeNS(null, 'clip-rule', 'nonzero');
}
this.pendingClip = null;
clipPath.appendChild(clipElement);
this.defs.appendChild(clipPath);
if (current.activeClipUrl) {
@ -4580,6 +4585,9 @@ var SVGGraphics = function SVGGraphics() { @@ -4580,6 +4585,9 @@ var SVGGraphics = function SVGGraphics() {
current.activeClipUrl = 'url(#' + clipId + ')';
this.tgrp = null;
},
clip: function SVGGraphics_clip(type) {
this.pendingClip = type;
},
closePath: function SVGGraphics_closePath() {
var current = this.current;
var d = current.path.getAttributeNS(null, 'd');
@ -5780,8 +5788,8 @@ if (!_util.globalScope.PDFJS) { @@ -5780,8 +5788,8 @@ if (!_util.globalScope.PDFJS) {
}
var PDFJS = _util.globalScope.PDFJS;
{
PDFJS.version = '1.8.476';
PDFJS.build = '36fb3686';
PDFJS.version = '1.8.478';
PDFJS.build = 'c6ee05f7';
}
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {
@ -11320,8 +11328,8 @@ exports.TilingPattern = TilingPattern; @@ -11320,8 +11328,8 @@ exports.TilingPattern = TilingPattern;
"use strict";
var pdfjsVersion = '1.8.476';
var pdfjsBuild = '36fb3686';
var pdfjsVersion = '1.8.478';
var pdfjsBuild = 'c6ee05f7';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(9);
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

@ -40317,8 +40317,8 @@ exports.Type1Parser = Type1Parser; @@ -40317,8 +40317,8 @@ exports.Type1Parser = Type1Parser;
"use strict";
var pdfjsVersion = '1.8.476';
var pdfjsBuild = '36fb3686';
var pdfjsVersion = '1.8.478';
var pdfjsBuild = 'c6ee05f7';
var pdfjsCoreWorker = __w_pdfjs_require__(8);
{
__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

@ -1443,8 +1443,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { @@ -1443,8 +1443,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}();
var version, build;
{
exports.version = version = '1.8.476';
exports.build = build = '36fb3686';
exports.version = version = '1.8.478';
exports.build = build = 'c6ee05f7';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;

4
lib/display/global.js

@ -39,8 +39,8 @@ if (!_util.globalScope.PDFJS) { @@ -39,8 +39,8 @@ if (!_util.globalScope.PDFJS) {
}
var PDFJS = _util.globalScope.PDFJS;
{
PDFJS.version = '1.8.476';
PDFJS.build = '36fb3686';
PDFJS.version = '1.8.478';
PDFJS.build = 'c6ee05f7';
}
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {

14
lib/display/svg.js

@ -282,6 +282,7 @@ var SVGGraphics = function SVGGraphics() { @@ -282,6 +282,7 @@ var SVGGraphics = function SVGGraphics() {
this.extraStack = [];
this.commonObjs = commonObjs;
this.objs = objs;
this.pendingClip = null;
this.pendingEOFill = false;
this.embedFonts = false;
this.embeddedFonts = Object.create(null);
@ -305,6 +306,7 @@ var SVGGraphics = function SVGGraphics() { @@ -305,6 +306,7 @@ var SVGGraphics = function SVGGraphics() {
restore: function SVGGraphics_restore() {
this.transformMatrix = this.transformStack.pop();
this.current = this.extraStack.pop();
this.pendingClip = null;
this.tgrp = null;
},
group: function SVGGraphics_group(items) {
@ -743,8 +745,10 @@ var SVGGraphics = function SVGGraphics() { @@ -743,8 +745,10 @@ var SVGGraphics = function SVGGraphics() {
current.element = current.path;
current.setCurrentPoint(x, y);
},
endPath: function SVGGraphics_endPath() {},
clip: function SVGGraphics_clip(type) {
endPath: function SVGGraphics_endPath() {
if (!this.pendingClip) {
return;
}
var current = this.current;
var clipId = 'clippath' + clipCount;
clipCount++;
@ -752,11 +756,12 @@ var SVGGraphics = function SVGGraphics() { @@ -752,11 +756,12 @@ var SVGGraphics = function SVGGraphics() {
clipPath.setAttributeNS(null, 'id', clipId);
clipPath.setAttributeNS(null, 'transform', pm(this.transformMatrix));
var clipElement = current.element.cloneNode();
if (type === 'evenodd') {
if (this.pendingClip === 'evenodd') {
clipElement.setAttributeNS(null, 'clip-rule', 'evenodd');
} else {
clipElement.setAttributeNS(null, 'clip-rule', 'nonzero');
}
this.pendingClip = null;
clipPath.appendChild(clipElement);
this.defs.appendChild(clipPath);
if (current.activeClipUrl) {
@ -768,6 +773,9 @@ var SVGGraphics = function SVGGraphics() { @@ -768,6 +773,9 @@ var SVGGraphics = function SVGGraphics() {
current.activeClipUrl = 'url(#' + clipId + ')';
this.tgrp = null;
},
clip: function SVGGraphics_clip(type) {
this.pendingClip = type;
},
closePath: function SVGGraphics_closePath() {
var current = this.current;
var d = current.path.getAttributeNS(null, 'd');

4
lib/pdf.js

@ -14,8 +14,8 @@ @@ -14,8 +14,8 @@
*/
'use strict';
var pdfjsVersion = '1.8.476';
var pdfjsBuild = '36fb3686';
var pdfjsVersion = '1.8.478';
var pdfjsBuild = 'c6ee05f7';
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,8 +14,8 @@ @@ -14,8 +14,8 @@
*/
'use strict';
var pdfjsVersion = '1.8.476';
var pdfjsBuild = '36fb3686';
var pdfjsVersion = '1.8.478';
var pdfjsBuild = 'c6ee05f7';
var pdfjsCoreWorker = require('./core/worker.js');
{
require('./core/network.js');

2
package.json

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

Loading…
Cancel
Save