Revision: 5319
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5319&view=rev
Author:   mdboom
Date:     2008-05-30 07:32:29 -0700 (Fri, 30 May 2008)

Log Message:
-----------
Fix mathtext bug (fractions too close together)

Modified Paths:
--------------
    trunk/matplotlib/lib/matplotlib/mathtext.py

Modified: trunk/matplotlib/lib/matplotlib/mathtext.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/mathtext.py 2008-05-30 14:29:27 UTC (rev 
5318)
+++ trunk/matplotlib/lib/matplotlib/mathtext.py 2008-05-30 14:32:29 UTC (rev 
5319)
@@ -656,7 +656,7 @@
 
     def get_underline_thickness(self, font, fontsize, dpi):
         cached_font = self._get_font(font)
-        return cached_font.font.underline_thickness / 64.0 / fontsize * (10.0 
* dpi / 100.0)
+        return (cached_font.font.underline_thickness / 64.0 / fontsize) * (dpi)
 
     def get_kern(self, font1, fontclass1, sym1, fontsize1,
                  font2, fontclass2, sym2, fontsize2, dpi):


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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to