]> git.parisson.com Git - pdf.js.git/commitdiff
cleanup
authorsbarman <sbarman@L3CWZ5T.(none)>
Fri, 19 Aug 2011 15:19:32 +0000 (08:19 -0700)
committersbarman <sbarman@L3CWZ5T.(none)>
Fri, 19 Aug 2011 15:19:32 +0000 (08:19 -0700)
fonts.js

index 064459df2f1aa3abcdeb23572fa25c8b68ef32d6..ce49a82b967361e34bd13e44bbeb7f73634bf083 100755 (executable)
--- a/fonts.js
+++ b/fonts.js
@@ -441,12 +441,6 @@ 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]);
-
     this.data = data;
     this.type = properties.type;
     this.textMatrix = properties.textMatrix;