Access the bbox/background data correctly in the MeshShadingPattern class (issue 18816)
This appears to have regressed in PR 13808, since it removed the `matrix`-entry from array returned by the `MeshShading.prototype.getIR` method *without* also updating the indexes in the `MeshShadingPattern` constructor.
This commit is contained in:
parent
115af68f10
commit
916fff0e42
@ -313,8 +313,8 @@ class MeshShadingPattern extends BaseShadingPattern {
|
|||||||
this._colors = IR[3];
|
this._colors = IR[3];
|
||||||
this._figures = IR[4];
|
this._figures = IR[4];
|
||||||
this._bounds = IR[5];
|
this._bounds = IR[5];
|
||||||
this._bbox = IR[7];
|
this._bbox = IR[6];
|
||||||
this._background = IR[8];
|
this._background = IR[7];
|
||||||
this.matrix = null;
|
this.matrix = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
1
test/pdfs/.gitignore
vendored
1
test/pdfs/.gitignore
vendored
@ -94,6 +94,7 @@
|
|||||||
!issue8424.pdf
|
!issue8424.pdf
|
||||||
!issue8480.pdf
|
!issue8480.pdf
|
||||||
!bug1650302_reduced.pdf
|
!bug1650302_reduced.pdf
|
||||||
|
!issue18816.pdf
|
||||||
!issue8570.pdf
|
!issue8570.pdf
|
||||||
!issue8697.pdf
|
!issue8697.pdf
|
||||||
!issue8702.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,
|
"annotations": true,
|
||||||
"type": "eq"
|
"type": "eq"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "issue18816",
|
||||||
|
"file": "pdfs/issue18816.pdf",
|
||||||
|
"md5": "45f863f5b227f700ffea1210e4f80403",
|
||||||
|
"rounds": 1,
|
||||||
|
"type": "eq"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "issue17794",
|
"id": "issue17794",
|
||||||
"file": "pdfs/issue17794.pdf",
|
"file": "pdfs/issue17794.pdf",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user