Removed Extraneous Matrix Check in CalRGB Conversion
This commit is contained in:
parent
716acf63d4
commit
2a665ebad4
@ -960,18 +960,6 @@ var CalRGBCS = (function CalRGBCSClosure() {
|
|||||||
'] for ' + this.name + ', falling back to default');
|
'] for ' + this.name + ', falling back to default');
|
||||||
this.GR = this.GG = this.GB = 1;
|
this.GR = this.GG = this.GB = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.MXA < 0 || this.MYA < 0 || this.MZA < 0 ||
|
|
||||||
this.MXB < 0 || this.MYB < 0 || this.MZB < 0 ||
|
|
||||||
this.MXC < 0 || this.MYC < 0 || this.MZC < 0) {
|
|
||||||
info('Invalid Matrix for ' + this.name + ' [' +
|
|
||||||
this.MXA + ', ' + this.MYA + ', ' + this.MZA +
|
|
||||||
this.MXB + ', ' + this.MYB + ', ' + this.MZB +
|
|
||||||
this.MXC + ', ' + this.MYC + ', ' + this.MZC +
|
|
||||||
'], falling back to default');
|
|
||||||
this.MXA = this.MYB = this.MZC = 1;
|
|
||||||
this.MXB = this.MYA = this.MZA = this.MXC = this.MYC = this.MZB = 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function matrixProduct(a, b, result) {
|
function matrixProduct(a, b, result) {
|
||||||
|
1
test/pdfs/.gitignore
vendored
1
test/pdfs/.gitignore
vendored
@ -71,6 +71,7 @@
|
|||||||
!issue9418.pdf
|
!issue9418.pdf
|
||||||
!issue9458.pdf
|
!issue9458.pdf
|
||||||
!issue9915_reduced.pdf
|
!issue9915_reduced.pdf
|
||||||
|
!issue9940.pdf
|
||||||
!bad-PageLabels.pdf
|
!bad-PageLabels.pdf
|
||||||
!decodeACSuccessive.pdf
|
!decodeACSuccessive.pdf
|
||||||
!filled-background.pdf
|
!filled-background.pdf
|
||||||
|
BIN
test/pdfs/issue9940.pdf
Normal file
BIN
test/pdfs/issue9940.pdf
Normal file
Binary file not shown.
@ -3978,5 +3978,12 @@
|
|||||||
"md5": "ce718efe601cd7491dd00651b4790329",
|
"md5": "ce718efe601cd7491dd00651b4790329",
|
||||||
"rounds": 1,
|
"rounds": 1,
|
||||||
"type": "eq"
|
"type": "eq"
|
||||||
|
},
|
||||||
|
{ "id": "issue9940",
|
||||||
|
"file": "pdfs/issue9940.pdf",
|
||||||
|
"md5": "6ffef210c4b6cfe423e20430d8af168a",
|
||||||
|
"rounds": 1,
|
||||||
|
"link": false,
|
||||||
|
"type": "eq"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user