Revision: 6736
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6736&view=rev
Author: mdboom
Date: 2009-01-05 14:47:08 +0000 (Mon, 05 Jan 2009)
Log Message:
-----------
Fix crash rendering verbose message
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/backends/backend_pdf.py
Modified: trunk/matplotlib/lib/matplotlib/backends/backend_pdf.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/backends/backend_pdf.py 2009-01-05
14:46:33 UTC (rev 6735)
+++ trunk/matplotlib/lib/matplotlib/backends/backend_pdf.py 2009-01-05
14:47:08 UTC (rev 6736)
@@ -545,7 +545,7 @@
def embedType1(self, texname, fontinfo):
matplotlib.verbose.report(
'Embedding ' + texname +
- ' which is the Type 1 font ' + fontinfo.fontfile +
+ ' which is the Type 1 font ' + (fontinfo.fontfile or '(none)') +
' with encoding ' + (fontinfo.encodingfile or '(none)') +
' and effects ' + `fontinfo.effects`,
'debug')
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins