Compare commits

..

No commits in common. "a8c77633a16f0a8e1e268a24206e0737edb97c0d" and "b57da32d70b4e43d9c319ce3395305244d81e8aa" have entirely different histories.

2 changed files with 11 additions and 4 deletions

View File

@ -1323,7 +1323,8 @@ class CanvasGraphics {
this.current.strokeAlpha = value;
break;
case "ca":
this.ctx.globalAlpha = this.current.fillAlpha = value;
this.current.fillAlpha = value;
this.ctx.globalAlpha = value;
break;
case "BM":
this.ctx.globalCompositeOperation = value;
@ -1377,12 +1378,17 @@ class CanvasGraphics {
drawnHeight
);
this.suspendedCtx = this.ctx;
const ctx = (this.ctx = scratchCanvas.context);
this.ctx = scratchCanvas.context;
const ctx = this.ctx;
ctx.setTransform(this.suspendedCtx.getTransform());
copyCtxState(this.suspendedCtx, ctx);
mirrorContextOperations(ctx, this.suspendedCtx);
this.setGState([["BM", "source-over"]]);
this.setGState([
["BM", "source-over"],
["ca", 1],
["CA", 1],
]);
}
endSMaskMode() {

View File

@ -5821,7 +5821,8 @@
"file": "pdfs/issue16287.pdf",
"md5": "cd3e0859140465ae8b8bde0c95cb4929",
"rounds": 1,
"type": "eq"
"type": "eq",
"about": "Please note that this file currently renders incorrectly."
},
{
"id": "issue2006",