GlyphsSDK
GlyphsSDK copied to clipboard
Scripting SDK for Glyphs
When `needsExtraMainOutlineDrawingForActiveLayer` returns `NO`, don’t draw: - [ ] The thick blue component stroke - [ ] "Color Layer" content (e.g. Stroke, Fill, Shadow, Gradient, etc)
When using a vanilla window instead of a xib, the delegate must be set in order for the `windowShouldClose_` to be called. If it is not called, the callbacks are...
1. I think that should be `GlyphPreview` instead of `GlyphView`: https://github.com/schriftgestalt/GlyphsSDK/blob/8d3fcc8b0144dd75b00256a49cd7492d56be2ee8/ObjectWrapper/GlyphsApp/UI/GlyphPreview.py#L5 --- 2. Also maybe add some documentation of how to import it properly. I could not make it work...
https://github.com/schriftgestalt/GlyphsSDK/blob/8d3fcc8b0144dd75b00256a49cd7492d56be2ee8/Python%20Templates/README.md?plain=1#L26 End of line recommends camelCase, which should be better PascalCase, as it is the norm for Python Classes.
* A file with linked masters * A file with feature replacement * A file with smart components * A file with all special anchors * Anchor propagation - with...
- [ ] When executing `font.save()` on a font that is loaded with `GSFont({PATH})` (not in the UI), it fails with the error: ``` File "GlyphsApp/GlyphsApp/__init__.py", line 4174, in Font__save__...
It seems Glyph internally uses `9223372036854775808`, or `LLONG_MAX` as ObjC calls it, in certain scenarios to indicate “no value” or similar. I believe it would be much cleaner to have...
`>>> TypeError: 'GSProxyShapes' object doesn't support item deletion` The documentation [claims that it is possible](https://docu.glyphsapp.com/#GSLayer.paths) like that. Also: what’s the proper API now to delete/add paths?
No error message, no closed paths. No matter if the layer has a selection or not. No matter how far the open ends are from each other. No matter how...