mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-24 09:08:07 +02:00
Lookup image-data correctly in paintImageMaskXObjectGroup
(issue 14990)
*This fixes a regression from PR 14754.* We didn't lookup the image-data correctly, with the result that we tried to render some ImageMasks using a string rather than the intended TypedArray. To make matters worse, this code-path was apparently not *properly* covered by existing test-cases.
This commit is contained in:
parent
193a28431c
commit
59dd4ea2b0
3 changed files with 16 additions and 6 deletions
1
test/pdfs/issue14990.pdf.link
Normal file
1
test/pdfs/issue14990.pdf.link
Normal file
|
@ -0,0 +1 @@
|
|||
https://github.com/mozilla/pdf.js/files/8839509/ap2114.pdf
|
|
@ -2064,6 +2064,15 @@
|
|||
"rounds": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue14990",
|
||||
"file": "pdfs/issue14990.pdf",
|
||||
"md5": "0fb397e1506acc4ab8e68c18212a1362",
|
||||
"link": true,
|
||||
"rounds": 1,
|
||||
"firstPage": 25,
|
||||
"lastPage": 25,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "extgstate-text",
|
||||
"file": "pdfs/extgstate.pdf",
|
||||
"md5": "001bb4ec04463a01d93aad748361f049",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue