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 converting them to an RGB buffer and Alpha buffer.  Not that 
difficult, but it would require some additional C routines in ft2font.cpp.

(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...)

Cheers,
Mike

Paul Kienzle wrote:
> 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.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


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