Browse Source

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

pdfjsbot 8 years ago
parent
commit
354106c64c

+ 1 - 1
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"

+ 12 - 12
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.build = build = 'f87f0d68';
+  exports.version = version = '1.8.497';
+  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.build = 'f87f0d68';
+  PDFJS.version = '1.8.497';
+  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 pdfjsBuild = 'f87f0d68';
+var pdfjsVersion = '1.8.497';
+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);

File diff suppressed because it is too large
+ 0 - 0
build/pdf.combined.js.map


+ 12 - 12
build/pdf.js

@@ -3854,8 +3854,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
 }();
 }();
 var version, build;
 var version, build;
 {
 {
-  exports.version = version = '1.8.495';
-  exports.build = build = 'f87f0d68';
+  exports.version = version = '1.8.497';
+  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.build = 'f87f0d68';
+  PDFJS.version = '1.8.497';
+  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 pdfjsBuild = 'f87f0d68';
+var pdfjsVersion = '1.8.497';
+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);

File diff suppressed because it is too large
+ 0 - 0
build/pdf.js.map


File diff suppressed because it is too large
+ 0 - 0
build/pdf.min.js


+ 2 - 2
build/pdf.worker.js

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

File diff suppressed because it is too large
+ 0 - 0
build/pdf.worker.js.map


+ 2 - 2
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.build = build = 'f87f0d68';
+  exports.version = version = '1.8.497';
+  exports.build = build = 'f2fcf2a5';
 }
 }
 exports.getDocument = getDocument;
 exports.getDocument = getDocument;
 exports.LoopbackPort = LoopbackPort;
 exports.LoopbackPort = LoopbackPort;

+ 2 - 2
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.build = 'f87f0d68';
+  PDFJS.version = '1.8.497';
+  PDFJS.build = 'f2fcf2a5';
 }
 }
 PDFJS.pdfBug = false;
 PDFJS.pdfBug = false;
 if (PDFJS.verbosity !== undefined) {
 if (PDFJS.verbosity !== undefined) {

+ 6 - 6
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() {

+ 2 - 2
lib/pdf.js

@@ -14,8 +14,8 @@
  */
  */
 'use strict';
 'use strict';
 
 
-var pdfjsVersion = '1.8.495';
-var pdfjsBuild = 'f87f0d68';
+var pdfjsVersion = '1.8.497';
+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');

+ 2 - 2
lib/pdf.worker.js

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

+ 1 - 1
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": [

Some files were not shown because too many files changed in this diff