Ensure that the baseTransform
is always defined for TilingPatterns
Fixes http://www2.emersonprocess.com/siteadmincenter/PM%20Micro%20Motion%20Documents/High-Pressure-Measurement-WP-001287.pdf#page=3.
This commit is contained in:
parent
20b5814249
commit
9eab463b6d
@ -1558,8 +1558,10 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
|
|||||||
var pattern;
|
var pattern;
|
||||||
if (IR[0] === 'TilingPattern') {
|
if (IR[0] === 'TilingPattern') {
|
||||||
var color = IR[1];
|
var color = IR[1];
|
||||||
|
var baseTransform = this.baseTransform ||
|
||||||
|
this.ctx.mozCurrentTransform.slice();
|
||||||
pattern = new TilingPattern(IR, color, this.ctx, this.objs,
|
pattern = new TilingPattern(IR, color, this.ctx, this.objs,
|
||||||
this.commonObjs, this.baseTransform);
|
this.commonObjs, baseTransform);
|
||||||
} else {
|
} else {
|
||||||
pattern = getShadingPatternFromIR(IR);
|
pattern = getShadingPatternFromIR(IR);
|
||||||
}
|
}
|
||||||
|
1
test/pdfs/High-Pressure-Measurement-WP-001287.pdf.link
Normal file
1
test/pdfs/High-Pressure-Measurement-WP-001287.pdf.link
Normal file
@ -0,0 +1 @@
|
|||||||
|
https://web.archive.org/web/20150927202748/http://www2.emersonprocess.com/siteadmincenter/PM%20Micro%20Motion%20Documents/High-Pressure-Measurement-WP-001287.pdf
|
@ -1751,6 +1751,15 @@
|
|||||||
"password": "\u00E6\u00F8\u00E5",
|
"password": "\u00E6\u00F8\u00E5",
|
||||||
"about": "The password (æøå) is UTF8 encoded."
|
"about": "The password (æøå) is UTF8 encoded."
|
||||||
},
|
},
|
||||||
|
{ "id": "High-Pressure-Measurement-WP-001287",
|
||||||
|
"file": "pdfs/High-Pressure-Measurement-WP-001287.pdf",
|
||||||
|
"md5": "aeba7e47bbe50cbf08bb8bdff78fec8c",
|
||||||
|
"rounds": 1,
|
||||||
|
"link": true,
|
||||||
|
"firstPage": 3,
|
||||||
|
"lastPage": 3,
|
||||||
|
"type": "eq"
|
||||||
|
},
|
||||||
{ "id": "issue3458.pdf",
|
{ "id": "issue3458.pdf",
|
||||||
"file": "pdfs/issue3458.pdf",
|
"file": "pdfs/issue3458.pdf",
|
||||||
"md5": "dab8bd3ad1acfc8dc82a8381a3c8ff94",
|
"md5": "dab8bd3ad1acfc8dc82a8381a3c8ff94",
|
||||||
|
Loading…
Reference in New Issue
Block a user