1
0
Fork 0
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:
Vivien Nicolas 2011-06-13 19:16:03 +02:00
commit 3973b01ec9
6 changed files with 588 additions and 697 deletions

View file

@ -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));