Plugin SDK released
20 March 2014
We are happy to announce the release of a software development kit, or in short, the SDK for Glyphs plugins. Using the SDK, you can write Glyphs plugins using either Python (using the PyObjC bridge) or Objective-C. If you want to do that, put this link under your pillow:
The Python SDK
Essentially, the Python SDK consists of commented plugin templates. All you have to do, is copy the folder structure, go through its files, replace the placeholders with your own values and insert your code at indicated positions. Both the read-me files and comments inside the .py files will help you get the job done.
To give you an idea what you can do with the Python SDK, we have test-run it in the past weeks. These are the fruits of our labor:
- Cut and Shake, filter with dialog
- Insert Inflections, filter without dialog
- Show Angled Handles, View menu extension (reporter plugin)
- Show Component Order, View menu extension (reporter plugin)
- Show Filled Preview, View menu extension (reporter plugin)
If you are interested in the code, feel free to peek into those plugins. They are all open-sourced under the Apache license.
The Objective-C SDK
At the time if this writing, the Objective-C SDK does work, but is not yet fully commented. We are working on it though. If you want to do a plugin in ObjC, feel free to contact us directly if you need help.
But now, have fun with the SDK.