mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-07-29 10:27:21 +02:00
Compare commits
No commits in common. "a8c77633a16f0a8e1e268a24206e0737edb97c0d" and "b57da32d70b4e43d9c319ce3395305244d81e8aa" have entirely different histories.
a8c77633a1
...
b57da32d70
@ -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() {
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user