Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7036531

Browse files
committed
Merged revisions 6995 via svnmerge from
https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/v0_98_5_maint ........ r6995 | mdboom | 2009-03-19 08:52:46 -0400 (Thu, 19 Mar 2009) | 2 lines Fix wavy baseline with STIX fonts -- again. ........ svn path=/trunk/matplotlib/; revision=6996
1 parent 5774335 commit 7036531

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/mathtext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def set_canvas_size(self, w, h, d):
201201

202202
def render_glyph(self, ox, oy, info):
203203
info.font.draw_glyph_to_bitmap(
204-
self.image, ox, oy - info.metrics.ymax, info.glyph)
204+
self.image, ox, oy - info.metrics.iceberg, info.glyph)
205205

206206
def render_rect_filled(self, x1, y1, x2, y2):
207207
height = max(int(y2 - y1) - 1, 0)

0 commit comments

Comments
 (0)