bug with length of lookup table
This commit is contained in:
parent
5f70605dd8
commit
7d3e08eefd
2
pdf.js
2
pdf.js
@ -4452,7 +4452,7 @@ var ColorSpace = (function() {
|
|||||||
break;
|
break;
|
||||||
case "Indexed":
|
case "Indexed":
|
||||||
var base = ColorSpace.parse(cs[1], xref, res);
|
var base = ColorSpace.parse(cs[1], xref, res);
|
||||||
var hiVal = cs[2];
|
var hiVal = cs[2] + 1;
|
||||||
var lookup = xref.fetchIfRef(cs[3]);
|
var lookup = xref.fetchIfRef(cs[3]);
|
||||||
return new IndexedCS(base, hiVal, lookup);
|
return new IndexedCS(base, hiVal, lookup);
|
||||||
case "Lab":
|
case "Lab":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user