Revision: 6294
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6294&view=rev
Author: mdboom
Date: 2008-10-22 15:27:24 +0000 (Wed, 22 Oct 2008)
Log Message:
-----------
Fix buglet in font_manager.py
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/font_manager.py
Modified: trunk/matplotlib/lib/matplotlib/font_manager.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/font_manager.py 2008-10-22 13:27:22 UTC
(rev 6293)
+++ trunk/matplotlib/lib/matplotlib/font_manager.py 2008-10-22 15:27:24 UTC
(rev 6294)
@@ -1005,7 +1005,7 @@
verbose.report('\tfindfont failed %(name)s, %(style)s,
%(variant)s'%locals(), 'debug')
return None
- if weight in font:
+ if weight not in font:
setWeights(font)
if weight not in font:
return None
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins