Apologies if this is a basic question. I’m hoping to use drawBotGrid in Drawbot within Glyphs to format some proofing templates, but can’t figure out how that would be done.
Is it possible? If so, how?
Thanks!
Apologies if this is a basic question. I’m hoping to use drawBotGrid in Drawbot within Glyphs to format some proofing templates, but can’t figure out how that would be done.
Is it possible? If so, how?
Thanks!
You need to install that module into the python that Glyphs is using. The GlyphsPython has its own pip but it might be easier to install your own python (I use the one from python.org, but home-brew should work, too). There you need to install all required module (mainly pyobjc) and then point Glyphs to it in Preferences > Addon > Python Version.
Or:
pip3 install --python-version=3.11.9 --only-binary=:all: --target="/Users/$USER/Library/Application Support/Glyphs 3/Scripts/site-packages" --upgrade YOUR_PYTHON_PACKAGE_NAME
Make sure to use the same python-version
number as is selected in Settings > Addons > Python version (the one that has (Glyphs) written after it. It should be 3.11.9)
Thank you both for your help!
I decided to use the code which @SCarewe suggested, which got me most of the way. Unfortunately when I tried to use drawBotGrid, I was getting an error that the PIL module couldn’t be found. So I used your code snippet again to install pillow and it’s all working now.
Thank you