Open
Description
I was quickly testing a basic mark feature
The current version:
an older version:
this is tested with the current version of FeaturePreview.roboFontExt
The new version also leaves traceback on non existing glyphs.
Traceback (most recent call last):
File "/Users/frederik/Documents/dev/tmt/vanilla/Lib/vanilla/vanillaEditText.py", line 11, in controlTextDidChange_
self.action_(notification.object())
File "/Users/frederik/Documents/dev/tmt/vanilla/Lib/vanilla/vanillaBase.py", line 210, in action_
self.callback(sender)
File "/Users/frederik/Documents/dev/tmt/defconAppKit/Lib/defconAppKit/controls/glyphSequenceEditText.py", line 20, in _inputCallback
self._finalCallback(self)
File "featurePreview.py", line 91, in glyphLineViewInputCallback
File "featurePreview.py", line 189, in updateGlyphLineView
File "/Users/frederik/Documents/dev/typeSupply/compositor/Lib/compositor/font.py", line 157, in process
glyphRecord.advanceWidth += self[glyphRecord.glyphName].width
File "/Users/frederik/Documents/dev/typeSupply/compositor/Lib/compositor/font.py", line 130, in __getitem__
glyph = self.glyphSet[name]
File "/Users/frederik/Documents/dev/fonttools/Lib/fontTools/ttLib/__init__.py", line 701, in __getitem__
return self._glyphType(self, self._glyphs[glyphName], self._hmtx[glyphName])
File "/Users/frederik/Documents/dev/fonttools/Lib/fontTools/cffLib.py", line 532, in __getitem__
charString = self.charStrings[name]
KeyError: 'g'
Metadata
Assignees
Labels
No labels