diff --git a/fonts.js b/fonts.js index 064459df2..ce49a82b9 100755 --- 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;