Correctly access colorSpace.numComps
in MeshStreamReader
(issue 6287)
This regressed in f750e35224
.
This commit is contained in:
parent
7fe2442a18
commit
1d65daf5e5
@ -225,7 +225,7 @@ Shadings.Mesh = (function MeshClosure() {
|
||||
|
||||
var numComps = context.numComps;
|
||||
this.tmpCompsBuf = new Float32Array(numComps);
|
||||
var csNumComps = context.colorSpace;
|
||||
var csNumComps = context.colorSpace.numComps;
|
||||
this.tmpCsCompsBuf = context.colorFn ? new Float32Array(csNumComps) :
|
||||
this.tmpCompsBuf;
|
||||
}
|
||||
|
1
test/pdfs/.gitignore
vendored
1
test/pdfs/.gitignore
vendored
@ -23,6 +23,7 @@
|
||||
!sizes.pdf
|
||||
!close-path-bug.pdf
|
||||
!issue2948.pdf
|
||||
!issue6231_1.pdf
|
||||
!issue4630.pdf
|
||||
!issue4909.pdf
|
||||
!issue5202.pdf
|
||||
|
BIN
test/pdfs/issue6231_1.pdf
Normal file
BIN
test/pdfs/issue6231_1.pdf
Normal file
Binary file not shown.
@ -641,6 +641,13 @@
|
||||
"rounds": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue6231_1",
|
||||
"file": "pdfs/issue6231_1.pdf",
|
||||
"md5": "eb13a9366a5142833a858472c68b4749",
|
||||
"link": false,
|
||||
"rounds": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "usmanm-bad-auto-fetch",
|
||||
"file": "pdfs/usmanm-bad.pdf",
|
||||
"md5": "38afb822433aaf07fc8f54807cd4f61a",
|
||||
|
Loading…
Reference in New Issue
Block a user