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

Always fill the mask with the backdrop color

It fixes #18956.

In the patch #18029, for performance reasons and because I thought it was useless, I deliberately chose to not fill the mask
with the backdrop color when it's full black: it was a bad idea.
So in this patch we always add the backdrop color to the mask.
This commit is contained in:
Calixte Denizet 2024-10-26 14:14:44 +02:00
parent bde36f28be
commit d114f71feb
4 changed files with 15 additions and 8 deletions

View file

@ -679,3 +679,4 @@
!issue18036.pdf
!issue18894.pdf
!bug1922766.pdf
!issue18956.pdf

BIN
test/pdfs/issue18956.pdf Executable file

Binary file not shown.

View file

@ -10734,5 +10734,12 @@
"type": "eq",
"link": true,
"talos": false
},
{
"id": "issue18956",
"file": "pdfs/issue18956.pdf",
"md5": "73e8cd32bd063e42fcc4b270c78549b1",
"rounds": 1,
"type": "eq"
}
]