#30846: error saving to PDF in matplotlib ---------------------------------+------------------------------------------ Reporter: astrofitz@… | Owner: ram@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: py27-matplotlib ---------------------------------+------------------------------------------ Changes (by ram@…): * owner: macports-tickets@… => ram@… * cc: ram@…, astrofitz@… (removed) * status: new => assigned Old description:
matplotlib is unable to save PDF files (test code attached). It crashes with an assertion error related to font encoding:
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/matplotlib/dviread.py", line 727, in _register assert encoding is None AssertionError
A patch has been proposed to work around the issue: http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/branches/v1_0_maint/...
New description: matplotlib is unable to save PDF files (test code attached). It crashes with an assertion error related to font encoding: {{{ File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/matplotlib/dviread.py", line 727, in _register assert encoding is None AssertionError }}} A patch has been proposed to work around the issue: http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/branches/v1_0_maint/... -- -- Ticket URL: <https://trac.macports.org/ticket/30846#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS