Add support for non-ligature glyphs

This commit is contained in:
Kiliman
2019-04-17 14:58:08 -04:00
committed by unknown
parent 91c4421765
commit 28eb8b58e5
3 changed files with 39 additions and 20 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ let chainIndex = 0;
const substLookupMap = {};
const buildGsubTables = (_dom, ligature) => {
const glyphs = ligature.name.split('_');
const glyphs = ligature.name.replace(/\.liga$/, '').split('_');
dom = _dom;
gsubDom = xpath.select('ttFont/GSUB', dom, true);