mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
Ensure that TilingPattern
s have valid (non-zero) /BBox arrays (issue 8330)
Fixes 8330.
This commit is contained in:
parent
9342054502
commit
e589834f13
5 changed files with 45 additions and 20 deletions
|
@ -304,7 +304,7 @@ var TilingPattern = (function TilingPatternClosure() {
|
|||
function TilingPattern(IR, color, ctx, canvasGraphicsFactory, baseTransform) {
|
||||
this.operatorList = IR[2];
|
||||
this.matrix = IR[3] || [1, 0, 0, 1, 0, 0];
|
||||
this.bbox = Util.normalizeRect(IR[4]);
|
||||
this.bbox = IR[4];
|
||||
this.xstep = IR[5];
|
||||
this.ystep = IR[6];
|
||||
this.paintType = IR[7];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue