On 7/21/07, Paul Kienzle <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I really love mathtext!  I wrote a simple formula parser
> and now I can label my graphs with easy to read chemical
> names (I've attached it below for the curious).
>
> The problem is that the baseline is wandering.  On my machine
> the following has the 'h' too low and the 'io' too high:

Just guessing, but...

There is a problem we have with text alignment in the ft2font module.
We can either align to top, bottom or center, but we need an option to
align to the glyph baseline.  Michael is currently working on mathtext
and is now our resident font guru.  Michael, can you take a look at
this.  This would be an important enhancement for mathtext, multiline
text, and a text entry widget.

Thanks,
JDH

>
> import pylab
> ax = pylab.subplot(111)
> pylab.text(0.5,0.5,r'$\rm{Thiol}$', va='bottom')
> pylab.show()
>
> I'm using wxAgg on OS X.  I know I've installed freetype, but
> beyond that I have no idea what font it is using.
>
> Do others experience the same problem?
>
> Any idea where I can start when debugging this?
>
>         - Paul
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to