mathtext in wx widgets

The challenge is to separate the backends from matplotlib.

If mathtext takes over all of the font handling then matplotlib won't need
to include freetype. If matplotlib handles bitmap rotation, then mathtext
won't need to include agg. Then mathtext need only take the format string
and return a bounding box, a bitmap, or the PDF/PS/SVG instructions
necessary to render the text.

I don't know if PDF/PS/SVG can rotate the coordinate system prior to
rendering. If not, then rotation will need to be moved into mathtext
as well.

  - Paul

···

On Thu, Aug 30, 2007 at 01:56:36PM -0500, John Hunter wrote:

On 8/30/07, Michael Droettboom <mdroe@...31...> wrote:

> (And long term, as cool as matplotlib is, it would be nice to refactor
> this out as a separate library for apps that don't do any plotting...)

I agree, the mathtext stuff is becoming really good, and will be
really good when we have a good set of fonts to work with. I can see
it being useful in lots of contexts, and more users in other contexts
will make it more useful for us down the road.