Opening glyphs file without window

I need to process a folder structure full of glyphs files. I don’t need to see the files in the app. They will be opened, processed, saved, and closed again.

The option in the docs (Glyphs.open(… showInterface=False)) doesn’t work though, the showInterface parameter is not accepted. Is there another way to do it?

Now I get hundreds of grey windows (each saying “This font was created in a different Glyphs version”) on the screen, then Glyphs crashes.

Try Glyphs.openDocumentWithContentsOfFile_display_() (or OfURL). Pass False for the display argument.

1 Like

Thank you, works perfectly!

Or:

f = GSFont("/Path/to/file.glyphs")
1 Like