Re: [matplotlib-devel] mathtext rotation

2007-09-04 Thread Michael Droettboom
John Hunter wrote: > On 8/30/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: > >>> ...but if we need to go into agg anyway, why not use Agg's font handling >>> capabilities directly? >> Perhaps historical reasons. I wonder if they're still relevant. > > Yes, that's it. agg did not have font s

Re: [matplotlib-devel] mathtext rotation

2007-09-04 Thread John Hunter
On 8/30/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: > > ...but if we need to go into agg anyway, why not use Agg's font handling > > capabilities directly? > > Perhaps historical reasons. I wonder if they're still relevant. Yes, that's it. agg did not have font support when the agg backen

Re: [matplotlib-devel] mathtext rotation

2007-09-04 Thread Michael Droettboom
SVN r3776 now has support for rotation of mathtext to any angle in the Agg backend (i.e. it's now supported in all backends). Enjoy! Mike Michael Droettboom wrote: > Paul Kienzle wrote: >> On Thu, Aug 30, 2007 at 02:19:47PM -0400, Michael Droettboom wrote: >>> Paul Kienzle wrote: Hi all, >

Re: [matplotlib-devel] mathtext rotation

2007-08-30 Thread Michael Droettboom
Paul Kienzle wrote: > On Thu, Aug 30, 2007 at 02:19:47PM -0400, Michael Droettboom wrote: >> Paul Kienzle wrote: >>> Hi all, >>> Before I look to deeply into this myself, is there anyone working on it >>> already? Is there anything I need to look out for when implementing it? >> I've made a few e

Re: [matplotlib-devel] mathtext rotation

2007-08-30 Thread Paul Kienzle
On Thu, Aug 30, 2007 at 02:19:47PM -0400, Michael Droettboom wrote: > Paul Kienzle wrote: > > Hi all, > > > > I replaced one of the text_rotation examples with r'$\rm{mathtext_{225}}$' > > to see if rotation is supported for mathtext. It is not in the current > > trunk downloaded today. > > It's

Re: [matplotlib-devel] mathtext rotation

2007-08-30 Thread Michael Droettboom
John Hunter wrote: > 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 re

Re: [matplotlib-devel] mathtext rotation

2007-08-30 Thread John Hunter
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 expressi

Re: [matplotlib-devel] mathtext rotation

2007-08-30 Thread Michael Droettboom
Paul Kienzle wrote: > Hi all, > > I replaced one of the text_rotation examples with r'$\rm{mathtext_{225}}$' > to see if rotation is supported for mathtext. It is not in the current > trunk downloaded today. It's only not supported in the bitmap (Agg and Gdk) backends. It works fine in the vec