[matplotlib-devel] Freetype bindings available

2011-02-01 Thread Nicolas Rougier
Hi all, I've bound (part of) the high-level API of freetype using ctypes. I don't know if it might be useful for matplotib text rendering but just in case: http://code.google.com/p/freetype-py/ Nicolas-- Special Of

Re: [matplotlib-devel] Freetype bindings available

2011-02-01 Thread Michael Droettboom
Thanks for doing this! There was certainly nothing like this last time I looked. I'll look further into whether this is a useful replacement for the domain-specific freetype wrappers in matplotlib now... Cheers, Mike On 02/01/2011 10:53 AM, Nicolas Rougier wrote: Hi all, I've bound (par

Re: [matplotlib-devel] Freetype bindings available

2011-02-01 Thread Michael Droettboom
I've made a basic first crack at this. Thanks to your examples, it was really easy to get basic text rendering with matplotlib's Agg backend (the other backends will need to be updated accordingly, and they may be more involved since they actually need to extract curves). I've made an SVN bra

Re: [matplotlib-devel] Freetype bindings available

2011-02-01 Thread Darren Dale
On Tue, Feb 1, 2011 at 2:36 PM, Michael Droettboom wrote: > I've made a basic first crack at this. > > Thanks to your examples, it was really easy to get basic text rendering with > matplotlib's Agg backend (the other backends will need to be updated > accordingly, and they may be more involved si

Re: [matplotlib-devel] Freetype bindings available

2011-02-01 Thread Nicolas Rougier
I'm currently trying to add all remaining high level api into freetype-py so FT_Get_Sfnt_Name should be in a few hours hopefully. If I forgot to add other useful functions, just tell me. The agg-trick.py is very similar from what I found in ft2font in matploltib: setting a resolution at (10*dp

Re: [matplotlib-devel] Bug in Sphinx plotdirective on Windows

2011-02-01 Thread Ian Bell
Ben, I had a thought about what you noticed with the paths, so I got in there and modified plot_directive.py to replace all the '/' with os.sep, but it didn't seem to do anything. All the links were still broken even though it seems like they all point to the right places. A problem of absolute