On Thu, Sep 25, 2008 at 9:31 AM, Darren Dale <[EMAIL PROTECTED]> wrote: > I noticed this morning that my Times and Palatino system fonts are not being > found anymore. I removed my fontManager.cache and ran my script with > verbose=debug, and it looks like creatFontDict found them, but then findfont > cant:
I recently fixed another bug related to font finding when an explicit file name was passed -- I wonder if I broke a normal use case. It's a simple change shown in the diff below. Could you manually revert on your end and see if it makes a difference. If so, I'll have to find another solution to the problem I was fixing. [EMAIL PROTECTED]:mpl> svn diff lib/matplotlib/font_manager.py -r6097:6098 Index: lib/matplotlib/font_manager.py =================================================================== --- lib/matplotlib/font_manager.py (revision 6097) +++ lib/matplotlib/font_manager.py (revision 6098) @@ -955,7 +955,7 @@ fname = prop.get_file() if fname is not None: verbose.report('findfont returning %s'%fname, 'debug') - return fname[0] + return fname if fontext == 'afm': fontdict = self.afmdict ------------------------------------------------------------------------- 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-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel