Opened 13 years ago

Last modified 13 years ago

#30846 closed defect

error saving to PDF in matplotlib — at Initial Version

Reported by: astrofitz (Michael Fitzgerald) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc: ram@…
Port: py27-matplotlib

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/lib/matplotlib/dviread.py?view=patch&r1=8512&r2=8955

Change History (1)

Changed 13 years ago by astrofitz (Michael Fitzgerald)

Attachment: test_pdf.py added
Note: See TracTickets for help on using tickets.