Robofab in Glyphs App . . .

Hey All!

Finally jumped on the Glyphs bandwagon and am hitting the ground running . . . I am currently otherwise using Mac 10.6.8 and have been using Robofab via FontLab (Python 2.6 is installed).

Now that I have installed Glyphs, I'm not entirely sure how to access some of my Robofab old scripts from within the App, I haven't seen any clear documentation how to go about this either. Georg points to two required .py files but it isn't clear how these integrate with the specific scripts I'd use (eg. Threshold Pen)

Any hints to point me in the right direction?

Thanks in advance!


  • Jeff KellemJeff Kellem Posts: 64
    edited May 2013
    Though I haven't had time to play with the RoboFab integration, yet, perhaps this will help some.

    Put and from:
    into the directory:
    ~/Library/Application Support/Glyphs/Scripts/

    Create a subdirectory in that Scripts directory/folder and copy your scripts into it.
    Inside Glyphs, reload the scripts within that directory via Option-Shift-Command-Y (or pressing Option while selecting the Script menu; at the bottom of that menu, you'll see "Open Scripts Folder" change to "Reload Scripts" when pressing the Option key.

    It's possible that scripts that worked in FontLab will need some changes to work within Glyphs. You may need to add to your scripts:
    import objectsGS, GSPen

    For an example, perhaps, take a look at Frank Grießhammer's boxDrawing script. He made it work with RoboFont, Glyphs, and FontLab:

    You may also find the Glyphs Python Scripting API documentation helpful:
    Note that the current version of Glyphs uses Python 2.6, so the scripting page mention of 2.5 is out of date.

    Good luck!
  • Thanks Jeff!
Sign In or Register to comment.