could elaborate why a
viewBox is necessary? and how it relates to
height DrawBot is using.
(maybe this discussion must move to an github issue)
you can draw any string / formattedString into a bezierPath with
for the rest of your questions, Im missing some source data, to get you a proper answer. As type has no fill color, your grey values must come from somewhere else.
A dedicated Maurice-category would be good plan, only if you build a Maurice-bot that answers directly
outside the app DrawBot, when using DrawBot as a module, you have to call
drawBot.newDrawing() to reset the drawing stack.
its also adviced to call
drawBot.endDrawing() when you are done.
bezierPath.expandStroke(width, lineCap="round", lineJoin="round", miterLimit=10) (thanks to Bahman Eslami)
Improved internal OpenType feature tags setting
Improved complex formattedString type setting
Improved alignment with text() and FormattedString
Added a DrawBot frontend for pip/PyPI to make it super easy to install third-party packages: see menu Python -> Install Python Packages...
Fixed text stroke behavior (but is a breaking change): strokeWidth on text no longer scales with the fontSize
Removed support for .mov export on 10.15 and up (QTKit is no longer supported there)
Fixed extracting single frames from .gif files
Improved setup.py, so drawbot-as-a-module can be easily installed with pip using a github URL
All test now run on Travis CI (and soon also on GitHub Actions)
Removed Python 2 code
Many small issues were fixed
DrawBot uninstalls the font after the script is done, so its only accessible during run time of the script.
There are some issues when reinstalling a font in the app itself where the postscript name is the still the same.
This has been fixed upstream. Will try to built a fresh release after the weekend
see the release notes: https://forum.drawbot.com/topic/203/drawbot3-121-is-released
numpy is not embedded into DrawBot and the latest DrawBot is python 3.7 and it can only add local packages installed with the same python version.
If you want to use
numpy you need to install 3.7, get it here https://www.python.org/downloads/ and install
get a pre-release version here http://static.typemytype.com/drawBot/DrawBot10.15.dmg
see the pull request on github to see the changes and follow up the discussion
CTFeatureSelectorIdentifier is not available anymore on 10.15, let me check