On Wednesday 05 December 2007 11:32:29 am Michael Droettboom wrote:
> Michael Droettboom wrote:
> > Darren Dale wrote:
> >>> One other problem to be aware of in this area: usetex does not support
> >>> rotated text, so autofmt_xdate and related tricks will still not work
> >>> until usetex supports arbitrary rotations.  One thing that has been on
> >>> my wish list is to expose the agg image functionality a little better
> >>> to make things like rotating the ft2font pixel buffer easier.
> >>
> >> I mentioned the usetex limitation a while back on mpl-dev, the post was
> >> titled "arbitrary rotation of images".
> >
> > Between 0.90 and 0.91, the Agg backend grew a "draw_text_image" method,
> > which can draw an image at an arbitrary angle.  It is hardcoded to take
> > the inverted greyscale images generated by FT2Font, but it should
> > provide a roadmap as to how to handle the rgba images used by the usetex
> > machinery.
>
> Usetex now supports arbitrary angles with the Agg backend.  It grabs
> only the greyscale part of the usetex image (which isn't new -- usetex
> has always thrown away any color coming from (La)TeX), and then uses
> draw_text_image to do the drawing.  (draw_image continues to not support
> rotation, but that is probably best done elsewhere anyway, if the need
> ever arises).

Thank you for doing this Mike.

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to