getTable method
Get or create the Layout table (GSUB, GPOS etc). @param {boolean} create - Whether to create a new one. @return {Object} The GSUB or GPOS table.
Implementation
getTable(bool create) {
var layout = this.font.tables[this.tableName];
if (layout != null && create) {
layout = this.font.tables[this.tableName] = this.createDefaultTable();
}
return layout;
}