Robofab in Glyphs App . . .

Stuart Sandler
Posts: 393
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.9K Typeface Design
- 485 Type Design Critiques
- 560 Type Design Software
- 1.1K Type Design Technique & Theory
- 653 Type Business
- 848 Font Technology
- 29 Punchcutting
- 519 Typography
- 119 Type Education
- 323 Type History
- 77 Type Resources
- 111 Lettering and Calligraphy
- 32 Lettering Critiques
- 79 Lettering Technique & Theory
- 548 Announcements
- 90 Events
- 114 Job Postings
- 170 Type Releases
- 173 Miscellaneous News
- 276 About TypeDrawers
- 54 TypeDrawers Announcements
- 120 Suggestions and Bug Reports