On 8/30/07, Michael Droettboom <[EMAIL PROTECTED]> wrote:

> - FT2Font.draw_glyph_to_bitmap does not support rotation.  This would
> have to be added, or there may be a way to use
> set_text/draw_glyphs_to_bitmap which does support rotation.  However,
> that would make rendering the entire expression to a single buffer much
> more difficult.

I was envisioning simply rotating the entire text expression by
rotating the ft2font pixel buffer.  Agg could do this and still
preserve subpixel effects, but we would need to expose a little code
(presumably in the agg SWIG module).  One couldn't rotate individual
glyphs  in a larger expression this way, but by far the most common
use case is to rotate the entire expression so this limitation doesn't
concern me much.

> All this will be affected by John's proposed refactoring of the
> backends, of course, which has kind of kept me off of it in a "wait and
> see" kind of mode.  Right now, each backend has a custom interface to

The rest of my life has intervened a bit here and I hope to return to
the refactoring soon, but I don't think it should hold you up.
Despite my initial revolutionary fervor, I have tempered a bit, and
favor a more integrationist approach than espoused in some of my
original emails on mpl1.  So if you have an approach that will improve
the backend mathtext handling, by all means go for it and we will
incorporate this into further revisions.

JDH

-------------------------------------------------------------------------
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

Reply via email to