diff --git a/lib/silfont/scripts/psfbuildfea.py b/lib/silfont/scripts/psfbuildfea.py index 6a76d32..cdc8336 100755 --- a/lib/silfont/scripts/psfbuildfea.py +++ b/lib/silfont/scripts/psfbuildfea.py @@ -10,6 +10,7 @@ from fontTools import configLogger from fontTools.ttLib import TTFont from fontTools.ttLib.tables.otTables import lookupTypes +from fontTools.feaLib.lookupDebugInfo import LookupDebugInfo from silfont.core import execute @@ -40,6 +41,11 @@ def buildLookups_(self, tag): latelookups.append(bldr) else: bldr.lookup_index = len(lookups) + self.lookup_locations[tag][str(bldr.lookup_index)] = LookupDebugInfo( + location=str(bldr.location), + name=self.get_lookup_name_(bldr), + feature=None, + ) lookups.append(bldr) bldr.map_index = bldr.lookup_index numl = len(lookups)