Batch font generation of all open fonts?

Hi there,

Is there any way out there to generate fonts from all open fonts at once?

Thanks in advance.

Something like this should do the job:

fp = GetFolder() 
of = list(Glyphs.fonts)

for f in of:
    for i in f.instances:
            e = i.generate(FontPath=fp)
1 Like

Thanks! What if I need to generate TTF flavoured OTs?

add it as an argument, so:

i.generate(Format='TTF', FontPath=fp)

1 Like