From: <md...@us...> - 2007-08-08 16:48:49
|
Revision: 3685 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=3685&view=rev Author: mdboom Date: 2007-08-08 09:48:48 -0700 (Wed, 08 Aug 2007) Log Message: ----------- Removing accidentally committed debugging output. Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/font_manager.py Modified: trunk/matplotlib/lib/matplotlib/font_manager.py =================================================================== --- trunk/matplotlib/lib/matplotlib/font_manager.py 2007-08-08 16:46:54 UTC (rev 3684) +++ trunk/matplotlib/lib/matplotlib/font_manager.py 2007-08-08 16:48:48 UTC (rev 3685) @@ -850,13 +850,6 @@ break verbose.report('loaded ttfcache file %s'%ttfcache) - def flatten(d, path): - if isinstance(d, dict): - for key, val in d.items(): - flatten(val, path + [key]) - elif isinstance(d, str): - print path, os.path.basename(d) - flatten(self.ttfdict, []) #self.ttfdict = createFontDict(self.ttffiles) # Load AFM fonts for PostScript @@ -935,14 +928,12 @@ fname = None font = fontdict - print font.keys() if font.has_key(name): font = font[name] else: verbose.report('\tfindfont failed %(name)s'%locals(), 'debug') return None - print font.keys() if font.has_key(style): font = font[style] elif style == 'italic' and font.has_key('oblique'): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |