modify reader
This commit is contained in:
Binary file not shown.
BIN
font/iconfont.ttf
Normal file
BIN
font/iconfont.ttf
Normal file
Binary file not shown.
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user