On Thu, Aug 30, 2007 at 01:56:36PM -0500, John Hunter wrote: > On 8/30/07, Michael Droettboom <[EMAIL PROTECTED]> 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.
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 ------------------------------------------------------------------------- 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 Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel