mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-08-03 04:47: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;
|
this.current.strokeAlpha = value;
|
||||||
break;
|
break;
|
||||||
case "ca":
|
case "ca":
|
||||||
this.ctx.globalAlpha = this.current.fillAlpha = value;
|
this.current.fillAlpha = value;
|
||||||
|
this.ctx.globalAlpha = value;
|
||||||
break;
|
break;
|
||||||
case "BM":
|
case "BM":
|
||||||
this.ctx.globalCompositeOperation = value;
|
this.ctx.globalCompositeOperation = value;
|
||||||
@ -1377,12 +1378,17 @@ class CanvasGraphics {
|
|||||||
drawnHeight
|
drawnHeight
|
||||||
);
|
);
|
||||||
this.suspendedCtx = this.ctx;
|
this.suspendedCtx = this.ctx;
|
||||||
const ctx = (this.ctx = scratchCanvas.context);
|
this.ctx = scratchCanvas.context;
|
||||||
|
const ctx = this.ctx;
|
||||||
ctx.setTransform(this.suspendedCtx.getTransform());
|
ctx.setTransform(this.suspendedCtx.getTransform());
|
||||||
copyCtxState(this.suspendedCtx, ctx);
|
copyCtxState(this.suspendedCtx, ctx);
|
||||||
mirrorContextOperations(ctx, this.suspendedCtx);
|
mirrorContextOperations(ctx, this.suspendedCtx);
|
||||||
|
|
||||||
this.setGState([["BM", "source-over"]]);
|
this.setGState([
|
||||||
|
["BM", "source-over"],
|
||||||
|
["ca", 1],
|
||||||
|
["CA", 1],
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
endSMaskMode() {
|
endSMaskMode() {
|
||||||
|
|||||||
@ -5821,7 +5821,8 @@
|
|||||||
"file": "pdfs/issue16287.pdf",
|
"file": "pdfs/issue16287.pdf",
|
||||||
"md5": "cd3e0859140465ae8b8bde0c95cb4929",
|
"md5": "cd3e0859140465ae8b8bde0c95cb4929",
|
||||||
"rounds": 1,
|
"rounds": 1,
|
||||||
"type": "eq"
|
"type": "eq",
|
||||||
|
"about": "Please note that this file currently renders incorrectly."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "issue2006",
|
"id": "issue2006",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user