Robofab in Glyphs App . . .
Stuart Sandler
Posts: 363
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
- 806 Font Technology
- 1.1K Technique and Theory
- 623 Type Business
- 446 Type Design Critiques
- 543 Type Design Software
- 30 Punchcutting
- 137 Lettering and Calligraphy
- 84 Technique and Theory
- 53 Lettering Critiques
- 489 Typography
- 304 History of Typography
- 115 Education
- 70 Resources
- 500 Announcements
- 80 Events
- 105 Job Postings
- 149 Type Releases
- 165 Miscellaneous News
- 271 About TypeDrawers
- 53 TypeDrawers Announcements
- 117 Suggestions and Bug Reports