mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 07:08:08 +02:00
bug with length of lookup table
This commit is contained in:
parent
5f70605dd8
commit
7d3e08eefd
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