|
@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {};
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {};
|
|
}
|
|
}
|
|
|
|
|
|
-PDFJS.version = '1.0.692';
|
|
|
|
-PDFJS.build = '34449f6';
|
|
|
|
|
|
+PDFJS.version = '1.0.694';
|
|
|
|
+PDFJS.build = '90d79d1';
|
|
|
|
|
|
(function pdfjsWrapper() {
|
|
(function pdfjsWrapper() {
|
|
// Use strict in our context only - users might not want it
|
|
// Use strict in our context only - users might not want it
|
|
@@ -7013,6 +7013,12 @@ var SVGGraphics = (function SVGGraphicsClosure() {
|
|
case OPS.paintImageMaskXObject:
|
|
case OPS.paintImageMaskXObject:
|
|
this.paintImageMaskXObject(args[0]);
|
|
this.paintImageMaskXObject(args[0]);
|
|
break;
|
|
break;
|
|
|
|
+ case OPS.paintFormXObjectBegin:
|
|
|
|
+ this.paintFormXObjectBegin(args[0], args[1]);
|
|
|
|
+ break;
|
|
|
|
+ case OPS.paintFormXObjectEnd:
|
|
|
|
+ this.paintFormXObjectEnd();
|
|
|
|
+ break;
|
|
case OPS.closePath:
|
|
case OPS.closePath:
|
|
this.closePath();
|
|
this.closePath();
|
|
break;
|
|
break;
|
|
@@ -7224,6 +7230,7 @@ var SVGGraphics = (function SVGGraphicsClosure() {
|
|
|
|
|
|
endText: function SVGGraphics_endText() {
|
|
endText: function SVGGraphics_endText() {
|
|
if (this.current.pendingClip) {
|
|
if (this.current.pendingClip) {
|
|
|
|
+ this.cgrp.appendChild(this.tgrp);
|
|
this.pgrp.appendChild(this.cgrp);
|
|
this.pgrp.appendChild(this.cgrp);
|
|
} else {
|
|
} else {
|
|
this.pgrp.appendChild(this.tgrp);
|
|
this.pgrp.appendChild(this.tgrp);
|
|
@@ -7578,6 +7585,35 @@ var SVGGraphics = (function SVGGraphicsClosure() {
|
|
|
|
|
|
this.paintInlineImageXObject(imgData, mask);
|
|
this.paintInlineImageXObject(imgData, mask);
|
|
},
|
|
},
|
|
|
|
+
|
|
|
|
+ paintFormXObjectBegin:
|
|
|
|
+ function SVGGraphics_paintFormXObjectBegin(matrix, bbox) {
|
|
|
|
+ this.save();
|
|
|
|
+
|
|
|
|
+ if (isArray(matrix) && matrix.length === 6) {
|
|
|
|
+ this.transform(matrix[0], matrix[1], matrix[2],
|
|
|
|
+ matrix[3], matrix[4], matrix[5]);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (isArray(bbox) && bbox.length === 4) {
|
|
|
|
+ var width = bbox[2] - bbox[0];
|
|
|
|
+ var height = bbox[3] - bbox[1];
|
|
|
|
+
|
|
|
|
+ var cliprect = document.createElementNS(NS, 'svg:rect');
|
|
|
|
+ cliprect.setAttributeNS(null, 'x', bbox[0]);
|
|
|
|
+ cliprect.setAttributeNS(null, 'y', bbox[1]);
|
|
|
|
+ cliprect.setAttributeNS(null, 'width', pf(width));
|
|
|
|
+ cliprect.setAttributeNS(null, 'height', pf(height));
|
|
|
|
+ this.current.element = cliprect;
|
|
|
|
+ this.clip('nonzero');
|
|
|
|
+ this.endPath();
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ paintFormXObjectEnd:
|
|
|
|
+ function SVGGraphics_paintFormXObjectEnd() {
|
|
|
|
+ this.restore();
|
|
|
|
+ }
|
|
};
|
|
};
|
|
return SVGGraphics;
|
|
return SVGGraphics;
|
|
})();
|
|
})();
|