modify reader

This commit is contained in:
kekee000
2014-09-26 20:27:15 +08:00
parent 0a579a56cf
commit f967dddf0e
3 changed files with 4 additions and 2 deletions

Binary file not shown.

BIN
font/iconfont.ttf Normal file

Binary file not shown.

View File

@@ -44,8 +44,10 @@ define(
// 读取支持的表数据
Object.keys(supportTables).forEach(function(tableName) {
// console.log(tableName);
if (ttf.tables[tableName]) {
var offset = ttf.tables[tableName].offset;
ttf[tableName] = new supportTables[tableName](offset).read(reader, ttf);
}
});
}