This will also not work in robofab
You can check if a glyphName is in the font:
f = CurrentFont()
gname = "test"
if gname in f:
else: # f[gname] not in f
print "%s not in %s" % (gname, f)
mm, you can make a subclass of the EditTool and overwrite the modifyDraggingPoint(point, delta) method to ignore 45° and only look for 0° and 90° angles.
But not pref settings (yet, will think about it)
it will remove the glyph name from all groups in font.groups
and it will remove the kerning pair of one of two is equal to the removed glyph
so when a user removes glyph 'A', it will remove (if those settings are enabled):
Thanks a lot, it does the trick.
Note to users: ## print them nicely means with a wordspace between each glyph. For proofing, I need to get rid of the space, so I simply removed it between the quotes:
print " ".join(allGlyphs) → print "".join(allGlyphs)
from Matthieu's email:
What I mean by slow down is that every time I place a point, there's a lag between placing it and pulling the handle. This should be immediate, which is the case when there isn't any bitmap image.
There is a tiny distance that the mouse has to move before a bcp is added. RoboFont is doing so to prevent unnecessary adding bcp. But it seems like the zoom level isnt really taking into account to calculate the minimal mouse dragged distance in order to create/add a new bcp
hope this make sense and will be solved in the next version.
I think you disabled "Use Embedded FDK" and on your local machine there is no FDK installed, so RoboFont cannot find anything to generate the binary file.