1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

Merge pull request #18445 from calixteman/issue18444

Remove active smask when restoring the initial canvas state
This commit is contained in:
calixteman 2024-07-17 15:36:04 +02:00 committed by GitHub
commit 15b71b82ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 12 additions and 0 deletions

View file

@ -1006,6 +1006,7 @@ class CanvasGraphics {
this.restore();
}
this.current.activeSMask = null;
this.ctx.restore();
if (this.transparentCanvas) {

View file

@ -0,0 +1 @@
https://github.com/user-attachments/files/16264442/9.170.1.pdf

View file

@ -10160,5 +10160,15 @@
"firstPage": 2,
"lastPage": 2,
"type": "eq"
},
{
"id": "issue18444",
"file": "pdfs/issue18444.pdf",
"md5": "233b7b72d67133044338a728d52d58a9",
"rounds": 1,
"link": true,
"firstPage": 1,
"lastPage": 1,
"type": "eq"
}
]