mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Merge to upstream
This commit is contained in:
commit
3973b01ec9
6 changed files with 588 additions and 697 deletions
|
@ -564,7 +564,7 @@ var Type1Parser = function(aAsciiStream, aBinaryStream) {
|
|||
var decryptedString = [];
|
||||
|
||||
var value = "";
|
||||
var count = aStream.length - aStream.start;
|
||||
var count = aStream.length;
|
||||
for (var i = 0; i < count; i++) {
|
||||
value = aStream.getByte();
|
||||
decryptedString[i] = String.fromCharCode(value ^ (r >> 8));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue