get shavian-load test working
This commit is contained in:
parent
7d54de5b32
commit
b1f717cb7f
@ -139,9 +139,9 @@ var CipherTransform = (function() {
|
||||
},
|
||||
decryptString: function(s) {
|
||||
var cipher = new this.stringCipherConstructor();
|
||||
var data = string2bytes(s);
|
||||
var data = stringToBytes(s);
|
||||
data = cipher.encryptBlock(data);
|
||||
return bytes2string(data);
|
||||
return bytesToString(data);
|
||||
}
|
||||
};
|
||||
return constructor;
|
||||
|
1
pdf.js
1
pdf.js
@ -3566,6 +3566,7 @@ var CanvasGraphics = (function() {
|
||||
},
|
||||
|
||||
execute: function(code, xref, resources) {
|
||||
resources = xref.fetchIfRef(resources) || new Dict();
|
||||
var savedXref = this.xref, savedRes = this.res, savedXobjs = this.xobjs;
|
||||
this.xref = xref;
|
||||
this.res = resources || new Dict();
|
||||
|
Loading…
x
Reference in New Issue
Block a user