Robofab in Glyphs App . . .

Stuart Sandler
Posts: 383
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
- 43 Introductions
- 3.7K Typeface Design
- 815 Font Technology
- 1.1K Technique and Theory
- 630 Type Business
- 450 Type Design Critiques
- 548 Type Design Software
- 30 Punchcutting
- 138 Lettering and Calligraphy
- 85 Technique and Theory
- 53 Lettering Critiques
- 497 Typography
- 307 History of Typography
- 116 Education
- 74 Resources
- 511 Announcements
- 82 Events
- 107 Job Postings
- 154 Type Releases
- 167 Miscellaneous News
- 271 About TypeDrawers
- 53 TypeDrawers Announcements
- 117 Suggestions and Bug Reports