mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
Pass commonObjs to TilingPattern constructor
Broken example: http://www.eiken.or.jp/eiken/apply/private/flow/pdf/ichiji.pdf
This commit is contained in:
parent
32938d3a66
commit
9310e852db
4 changed files with 12 additions and 3 deletions
|
@ -1153,7 +1153,8 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
|
|||
|
||||
color = base.getRgb(args, 0);
|
||||
}
|
||||
var pattern = new TilingPattern(IR, color, this.ctx, this.objs);
|
||||
var pattern = new TilingPattern(IR, color, this.ctx, this.objs,
|
||||
this.commonObjs);
|
||||
} else if (IR[0] == 'RadialAxial' || IR[0] == 'Dummy') {
|
||||
var pattern = Pattern.shadingFromIR(IR);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue