typemytype / drawbot

http://www.drawbot.com
Other
398 stars 62 forks source link

make the PILContext optionally only if PIL is installed #470

Closed typemytype closed 2 years ago

typemytype commented 2 years ago

drawBot could be used in environments where PIL is not available.

https://github.com/typemytype/drawBotRoboFontExtension/issues/12

wrap the import in a try except ImportError and raise when a PIL context will be used