Merge pull request #191 from sbarman/indexcs
bug with length of lookup table
This commit is contained in:
commit
c7bcd91813
1 changed files with 1 additions and 1 deletions
2
pdf.js
2
pdf.js
|
@ -4452,7 +4452,7 @@ var ColorSpace = (function() {
|
|||
break;
|
||||
case "Indexed":
|
||||
var base = ColorSpace.parse(cs[1], xref, res);
|
||||
var hiVal = cs[2];
|
||||
var hiVal = cs[2] + 1;
|
||||
var lookup = xref.fetchIfRef(cs[3]);
|
||||
return new IndexedCS(base, hiVal, lookup);
|
||||
case "Lab":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue