On Tuesday 10 June 2008 1:34:45 pm John Hunter wrote:
> On Tue, Jun 10, 2008 at 11:51 AM, Michael Droettboom <[EMAIL PROTECTED]>
wrote:
> > Is anyone else working on this? I think I may have some time to this
> > afternoon, and I don't want to duplicate effort.
>
> It's been on my wish list, but
On Tue, Jun 10, 2008 at 11:51 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote:
> Is anyone else working on this? I think I may have some time to this
> afternoon, and I don't want to duplicate effort.
It's been on my wish list, but I haven't started, so fire away. Sorry
I didn't see your mail e
Is anyone else working on this? I think I may have some time to this
afternoon, and I don't want to duplicate effort.
Cheers,
Mike
Michael Droettboom wrote:
> Not hard, I don't think. The following will give you a FT2Image object
> of the expression:
>
> from matplotlib.mathtext import MathTe
Not hard, I don't think. The following will give you a FT2Image object
of the expression:
from matplotlib.mathtext import MathTextParser
mathtext_parser = MathTextParser("Bitmap")
ftimage = mathtext_parser.parse(r"$x^i$", 150)
From the FT2Image, you can get an rgba buffer, and the width and th