Revision: 6400
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6400&view=rev
Author: mdboom
Date: 2008-11-12 20:09:10 +0000 (Wed, 12 Nov 2008)
Log Message:
-----------
[ 2269684 ] mathtext broken in the cairo backend
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-11-12 20:00:11 UTC
(rev 6399)
+++ trunk/matplotlib/lib/matplotlib/font_manager.py 2008-11-12 20:09:10 UTC
(rev 6400)
@@ -397,7 +397,7 @@
self.size = size
-def ttfFontProperty(fontpath, font):
+def ttfFontProperty(font):
"""
A function for populating the :class:`FontKey` by extracting
information from the TrueType font file.
@@ -489,7 +489,7 @@
# !!!! Incomplete
size_adjust = None
- return FontEntry(fontpath, name, style, variant, weight, stretch, size)
+ return FontEntry(font.fname, name, style, variant, weight, stretch, size)
def afmFontProperty(fontpath, font):
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