aggdraw

aggdraw cannot load font (no text renderer)

筅森魡賤 提交于 2020-01-05 05:52:34
问题 I've installed aggdraw on OS X 10.8 using Apple's stock Python (2.7.2) using these instructions. Before doing so, I used homebrew to install freetype, and I modified aggdraw's setup.py to point to my freetype installation ( FREETYPE_ROOT = "/usr/local/Cellar/freetype/2.4.10/" on line 32). Despite all of this, when I try to load a font, I get: $ python test.py Traceback (most recent call last): File "test.py", line 9, in <module> font = Font('black', '/Library/Fonts/Georgia.ttf') IOError: