mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Merge pull request #19305 from Snuffleupagus/issue-18816
Access the bbox/background data correctly in the `MeshShadingPattern` class (issue 18816)
This commit is contained in:
commit
573e5f54f1
4 changed files with 10 additions and 2 deletions
|
@ -313,8 +313,8 @@ class MeshShadingPattern extends BaseShadingPattern {
|
|||
this._colors = IR[3];
|
||||
this._figures = IR[4];
|
||||
this._bounds = IR[5];
|
||||
this._bbox = IR[7];
|
||||
this._background = IR[8];
|
||||
this._bbox = IR[6];
|
||||
this._background = IR[7];
|
||||
this.matrix = null;
|
||||
}
|
||||
|
||||
|
|
1
test/pdfs/.gitignore
vendored
1
test/pdfs/.gitignore
vendored
|
@ -94,6 +94,7 @@
|
|||
!issue8424.pdf
|
||||
!issue8480.pdf
|
||||
!bug1650302_reduced.pdf
|
||||
!issue18816.pdf
|
||||
!issue8570.pdf
|
||||
!issue8697.pdf
|
||||
!issue8702.pdf
|
||||
|
|
BIN
test/pdfs/issue18816.pdf
Normal file
BIN
test/pdfs/issue18816.pdf
Normal file
Binary file not shown.
|
@ -10078,6 +10078,13 @@
|
|||
"annotations": true,
|
||||
"type": "eq"
|
||||
},
|
||||
{
|
||||
"id": "issue18816",
|
||||
"file": "pdfs/issue18816.pdf",
|
||||
"md5": "45f863f5b227f700ffea1210e4f80403",
|
||||
"rounds": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{
|
||||
"id": "issue17794",
|
||||
"file": "pdfs/issue17794.pdf",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue