15 lines
288 B
Python
15 lines
288 B
Python
|
# robothon 2006
|
||
|
# batch save as
|
||
|
|
||
|
import os
|
||
|
from robofab.world import AllFonts
|
||
|
from robofab.interface.all.dialogs import GetFolder
|
||
|
|
||
|
path = GetFolder()
|
||
|
if path:
|
||
|
for font in AllFonts():
|
||
|
fileName = os.path.basename(font.path)
|
||
|
newPath = os.path.join(path, fileName)
|
||
|
font.save(newPath)
|
||
|
|