Simplepolator
PabloImpallari
Posts: 806
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
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
0
Comments
-
This functionality is built into Glyphs. In a font with multiple masters you can work on the master layers while simultaneously viewing a preview of a defined instance. It’s a great time-saver.2
-
Nice, but you may be reinventing the wheel here. There's a simpler script that does the same thing on the RoboFab site:
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()
0 -
Yep they are about the same, but in the Robofab sample you have to define the glyphs in the script code, requiring you to modify the code each time you want to interpolate (or use a predefined naming scheme).
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.0 -
Yep they are about the same, but in the Robofab sample you have to define the glyphs in the script code, requiring you to modify the code each time you want to interpolate…
Just assign two selected glyphs to two variables and put the variables in place of the names.0 -
This could be fancier and smarter but 5 minutes with the robofab sample gives us
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()
0 -
In Glyphs, if you have drawn two versions of the same glyphs put one in the background and use the Filters > Transformation > Background to interpolate between the for and background layer. They have to be compatible, of cause.1
-
Robofont version, improved by Frederik. Now it also extrapolates!
https://github.com/typemytype/RoboFontExamples/blob/master/interpolation/quickInterpolate.py0 -
Dave Crossland also made the FontForge version
https://github.com/davelab6/fontforge-simplepolator1
Categories
- All Categories
- 43 Introductions
- 3.7K Typeface Design
- 803 Font Technology
- 1K Technique and Theory
- 622 Type Business
- 444 Type Design Critiques
- 542 Type Design Software
- 30 Punchcutting
- 136 Lettering and Calligraphy
- 83 Technique and Theory
- 53 Lettering Critiques
- 485 Typography
- 303 History of Typography
- 114 Education
- 68 Resources
- 499 Announcements
- 80 Events
- 105 Job Postings
- 148 Type Releases
- 165 Miscellaneous News
- 270 About TypeDrawers
- 53 TypeDrawers Announcements
- 116 Suggestions and Bug Reports