Re: [matplotlib-devel] matplotlib installation error

2007-08-30 Thread Ken McIvor
On Aug 29, 2007, at 5:12 PM, Hardeep Nahal wrote: > > Yes, I think my libpng library was corrupt, but when I tried > reinstalling, it still wouldn't work. It's not corrupt, it's just not the correct kind of library. There are two types: static libraries (.a), which get compiled into a program

[matplotlib-devel] mathtext rotation

2007-08-30 Thread Paul Kienzle
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. Before I look to deeply into this myself, is there anyone working on it already? Is there anything I need to look ou

[matplotlib-devel] mathtext in wx widgets

2007-08-30 Thread Paul Kienzle
Hi, It would be great to be able to display math markup in other parts of my application, such as labels, tables, lists and menus. Has anyone ever tried doing this for wx or gtk? Thanks in advance, - Paul - This SF

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

Re: [matplotlib-devel] mathtext in wx widgets

2007-08-30 Thread Michael Droettboom
Cool idea. I don't know if anyone has tried this. I assume you'd want to get something that you could pass to wx.ImageFromBuffer() (and the equivalent in Gtk). It would just be a matter of or'ing together all of the greyscale ft2font buffers (which aren't currently exposed to Python) and con

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 in wx widgets

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

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

[matplotlib-devel] Aligning text to baseline

2007-08-30 Thread Michael Droettboom
I just committed code to allow vertical alignment of text by the baseline (rather than the bottom of all the descenders). I think it should be useful, however, it behaves rather strangely with rotation, and I thought I'd solicit some feedback from the list. The "problem" (if it is one) is tha

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
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 in wx widgets

2007-08-30 Thread Christopher Barker
Paul Kienzle wrote: > It would be great to be able to display math markup in other parts of my > application, such as labels, tables, lists and menus. Has anyone ever > tried doing this for wx or gtk? It's worth a post to the wxPython-users list -- it gets talked about now and again. It shouldn

Re: [matplotlib-devel] mathtext in wx widgets

2007-08-30 Thread Paul Kienzle
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 mathtex