[Pkg-javascript-commits] [pdf.js] 359/414: Finishing SMask at the end of operators list.
David Prévot
taffit at moszumanska.debian.org
Tue Jun 28 17:12:39 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository pdf.js.
commit 63f62a0e5350b944d369c2902228d48726561c34
Author: Yury Delendik <ydelendik at mozilla.com>
Date: Sat Apr 9 18:50:11 2016 -0500
Finishing SMask at the end of operators list.
---
src/display/canvas.js | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/display/canvas.js b/src/display/canvas.js
index 09beae8..e9b3563 100644
--- a/src/display/canvas.js
+++ b/src/display/canvas.js
@@ -870,6 +870,11 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
},
endDrawing: function CanvasGraphics_endDrawing() {
+ // Finishing all opened operations such as SMask group painting.
+ if (this.current.activeSMask !== null) {
+ this.endSMaskGroup();
+ }
+
this.ctx.restore();
if (this.transparentCanvas) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git
More information about the Pkg-javascript-commits
mailing list