Robofab in Glyphs App . . .

Stuart Sandler
Posts: 390
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
- 44 Introductions
- 3.8K Typeface Design
- 825 Font Technology
- 1.1K Technique and Theory
- 637 Type Business
- 453 Type Design Critiques
- 550 Type Design Software
- 30 Punchcutting
- 139 Lettering and Calligraphy
- 86 Technique and Theory
- 53 Lettering Critiques
- 503 Typography
- 311 History of Typography
- 118 Education
- 74 Resources
- 526 Announcements
- 84 Events
- 110 Job Postings
- 162 Type Releases
- 169 Miscellaneous News
- 272 About TypeDrawers
- 54 TypeDrawers Announcements
- 117 Suggestions and Bug Reports