Robofab in Glyphs App . . .
Options

Stuart Sandler
Posts: 392
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!
Stuart
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!
Stuart
0
Comments
-
Though I haven't had time to play with the RoboFab integration, yet, perhaps this will help some.
Put objectsGS.py and GSPen.py from:
https://github.com/schriftgestalt/Glyphs-Scripts
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:
https://github.com/adobe-type-tools/boxDrawing
You may also find the Glyphs Python Scripting API documentation helpful:
http://docu.glyphsapp.com
http://glyphsapp.com/resources/scripting/
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!1 -
Thanks Jeff!0
Categories
- All Categories
- 46 Introductions
- 3.8K Typeface Design
- 476 Type Design Critiques
- 555 Type Design Software
- 1.1K Type Design Technique & Theory
- 640 Type Business
- 831 Font Technology
- 29 Punchcutting
- 508 Typography
- 120 Type Education
- 313 Type History
- 75 Type Resources
- 109 Lettering and Calligraphy
- 30 Lettering Critiques
- 79 Lettering Technique & Theory
- 533 Announcements
- 86 Events
- 110 Job Postings
- 167 Type Releases
- 169 Miscellaneous News
- 274 About TypeDrawers
- 53 TypeDrawers Announcements
- 119 Suggestions and Bug Reports