mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
parent
2dc062e183
commit
fc7c1fb6fd
1 changed files with 1 additions and 1 deletions
|
@ -393,7 +393,7 @@ var IndexedCS = (function IndexedCSClosure() {
|
|||
lookupArray = new Uint8Array(length);
|
||||
for (var i = 0; i < length; ++i)
|
||||
lookupArray[i] = lookup.charCodeAt(i);
|
||||
} else if (lookup instanceof Uint8Array) {
|
||||
} else if (lookup instanceof Uint8Array || lookup instanceof Array) {
|
||||
lookupArray = lookup;
|
||||
} else {
|
||||
error('Unrecognized lookup table: ' + lookup);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue