1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

Merge branch 'master' into openmag

This commit is contained in:
sbarman 2011-08-18 21:57:08 -07:00
commit 08521e5018
4 changed files with 89 additions and 23 deletions

View file

@ -441,6 +441,15 @@ var Font = (function Font() {
break;
}
var fileArr = [];
file.reset();
file = file.getBytes();
for (var i = 0, ii = file.length; i < ii; ++i)
fileArr.push(file[i]);
writeToFile(data, '/tmp/' + name + '_new');
writeToFile(fileArr, '/tmp/' + name + '_orig');
this.data = data;
this.type = properties.type;
this.textMatrix = properties.textMatrix;