|
From: <md...@us...> - 2009-03-19 12:52:52
|
Revision: 6995
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6995&view=rev
Author: mdboom
Date: 2009-03-19 12:52:46 +0000 (Thu, 19 Mar 2009)
Log Message:
-----------
Fix wavy baseline with STIX fonts -- again.
Modified Paths:
--------------
branches/v0_98_5_maint/lib/matplotlib/mathtext.py
Modified: branches/v0_98_5_maint/lib/matplotlib/mathtext.py
===================================================================
--- branches/v0_98_5_maint/lib/matplotlib/mathtext.py 2009-03-18 19:44:31 UTC (rev 6994)
+++ branches/v0_98_5_maint/lib/matplotlib/mathtext.py 2009-03-19 12:52:46 UTC (rev 6995)
@@ -201,7 +201,7 @@
def render_glyph(self, ox, oy, info):
info.font.draw_glyph_to_bitmap(
- self.image, ox, oy - info.metrics.ymax, info.glyph)
+ self.image, ox, oy - info.metrics.iceberg, info.glyph)
def render_rect_filled(self, x1, y1, x2, y2):
height = max(int(y2 - y1) - 1, 0)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|