Simplepolator allows you to interpolate compatible glyphs in the same font, without leaving FontLab nor interrupting your workflow.
Simply select two compatible glyphs and run the macro:
Five new glyphs will be automatically created, allowing you to choose the best variation.
Making it super-easy to apply the Gunnlaugur SE Briem's method on "How to make mistakes.
A quick video showing how to use it:
Download:
http://www.impallari.com/projects/overview/simplepolator
Comments
http://robofab.org/talks09/robofab_session5.html
# robothon 2009 # interpolate two glyphs in the same font a bunch of times from robofab.world import CurrentFont f = CurrentFont() for i in range(0, 10): factor = i*.1 name = "result_%f"%factor print "interpolating", name f[name].interpolate(factor, f["A"], f["B"]) f.update()
This is about the same, but here you can just pick any 2 glyphs and you are good to go.
Also, it warns you in case of any error (more than 2 glyphs selected, incompatible outlines) and the original 2 glyphs are added to the results, making it easy to compare all the instances at the same time.
Just assign two selected glyphs to two variables and put the variables in place of the names.
if CurrentFont() is None: print "open a font, silly" else: f = CurrentFont() glyphNames = f.selection if glyphNames == []: print "this only works if you select two interpolatblblle glyphs" else: for i in range(0, 10): factor = i*.1 newglyph = glyphNames[0]+"."+str(i) print "interpolating", newglyph f[newglyph] = f[glyphNames[0]] selectedone = glyphNames[0] selectedtwo = glyphNames[1] f[newglyph].interpolate(factor, f[selectedone], f[selectedtwo]) f[newglyph].update()
https://github.com/typemytype/RoboFontExamples/blob/master/interpolation/quickInterpolate.py
https://github.com/davelab6/fontforge-simplepolator