getKerningTables method
dynamic
getKerningTables(
- dynamic script,
- dynamic language
List all kerning lookup tables.
@param {string} script='DFLT'
- use font.position.getDefaultScriptName() for a better default value
@param {string} language='dflt'
@return {object[]} The list of kerning lookup tables (may be empty), or undefined if there is no GPOS table (and we should use the kern table)
Implementation
getKerningTables(script, language) {
if (this.font.tables["gpos"] != null) {
return this.getLookupTables(script, language, 'kern', 2, false);
}
}