12 lines
271 B
Python
12 lines
271 B
Python
#FLM: Import .ufo File into FontLab
|
|
|
|
from robofab.world import NewFont
|
|
from robofab.interface.all.dialogs import GetFolder
|
|
|
|
path = GetFolder("Please select a .ufo")
|
|
if path is not None:
|
|
font = NewFont()
|
|
font.readUFO(path, doProgress=True)
|
|
font.update()
|
|
print 'DONE!'
|