12 lines
227 B
Python
12 lines
227 B
Python
|
# robofab manual
|
||
|
# Interpolate howto
|
||
|
# Interpolating glyphs examples
|
||
|
|
||
|
|
||
|
from robofab.world import CurrentFont
|
||
|
f = CurrentFont()
|
||
|
g = f.newGlyph("interpolated")
|
||
|
g.interpolate(.5, f["a"], f["b"]
|
||
|
# if you're in fontlab:
|
||
|
g.update()
|