1 line
479 B
Python
1 line
479 B
Python
|
#FLM: Auto starting points
from robofab.world import CurrentFont
from robofab.interface.all.dialogs import ProgressBar
f = CurrentFont()
tickCount = len(f)
bar = ProgressBar("Setting start points...", tickCount)
tick = 0
for c in f:
if c:
bar.label(c.name)
bar.tick(tick)
c.correctDirection()
c.autoContourOrder()
for contour in c:
contour.autoStartSegment()
tick = tick + 1
bar.close()
f.update()
print 'done'
|