Re: [Matplotlib-users] Mathtext + stixsans weird baseline

2010-04-15 Thread Ryan May
I'm having a problem with the rendering of stixsans fonts again. Not as bad as the baseline before, but some odd text placement: import matplotlib.pyplot as plt from matplotlib import rcParams rcParams['font.size'] = 8.0 rcParams['mathtext.default'] = 'regular' rcParams['mathtext.fontset'] = 'stix

Re: [Matplotlib-users] Mathtext + stixsans weird baseline

2009-02-27 Thread Michael Droettboom
It seems the Freetype rendering backend wasn't doing subpixel alignment on the text, but was being rounded to the nearest pixels. Taking the fractional part into account seems to resolve this. Fixed on branch and trunk. Mike Ryan May wrote: > And here's the image I promised. > > On Wed, Feb

Re: [Matplotlib-users] Mathtext + stixsans weird baseline

2009-02-25 Thread Ryan May
And here's the image I promised. On Wed, Feb 25, 2009 at 3:13 PM, Ryan May wrote: > Hi, > > When I combine mathtext with the stixsans fonts while mathtext.default is > set to 'regular', horizontal text is not vertically aligned properly, like > the baseline is moving. I've attached an image of

[Matplotlib-users] Mathtext + stixsans weird baseline

2009-02-25 Thread Ryan May
Hi, When I combine mathtext with the stixsans fonts while mathtext.default is set to 'regular', horizontal text is not vertically aligned properly, like the baseline is moving. I've attached an image of what I see when I run the following code. It should be noted that I don't see anything like t