Re: [matplotlib-devel] MEP14: Improve text handling

2013-05-30 Thread Nicolas Rougier
> 1) It's implemented in ctypes. I'm not much of a fan of ctypes, as it > has the potential to segfault in nasty ways if the API changes in any > way from what was expected (which would normally be caught at compile > time in a C extension). I'm also concerned about the overhead of > ctypes,

Re: [matplotlib-devel] MEP14: Improve text handling

2013-05-30 Thread Michael Droettboom
On 05/30/2013 08:21 PM, Michael Droettboom wrote: > 1) It's implemented in ctypes. I'm not much of a fan of ctypes, as it > has the potential to segfault in nasty ways if the API changes in any > way from what was expected (which would normally be caught at compile > time in a C extension). I'm

Re: [matplotlib-devel] MEP14: Improve text handling

2013-05-30 Thread Paul Hobson
On Thu, May 30, 2013 at 5:03 PM, Michael Droettboom wrote: > On 05/30/2013 02:27 PM, Chris Barker - NOAA Federal wrote: > > > > With a fully-function mathtex, it could be the default (only?) text > > layout system for MPL, simplifying things quite a bit. > > I'm not sure that's realistic. The us

Re: [matplotlib-devel] Mac binary for 1.3.0rc2; more errors than usual in the unit tests

2013-05-30 Thread Michael Droettboom
On 05/30/2013 06:06 PM, Russell E. Owen wrote: I uploaded a binary installer for MacOS X, 64-bit python.org python 2.7. I built it using numpy 1.7.1. This version does not include pytz, dateutil or six, but the included ReadMe says they are prerequisites and suggests installing them with pip. Th

Re: [matplotlib-devel] MEP14: Improve text handling

2013-05-30 Thread Michael Droettboom
On 05/30/2013 03:33 PM, Nicolas Rougier wrote: > > For the free type wrapper, maybe the freetype-py may be of some help: > http://code.google.com/p/freetype-py/ > > I did not wrap all the freetype library but it already allows a fair amount > of font manipulation/rendering. I looked at this a num

Re: [matplotlib-devel] MEP14: Improve text handling

2013-05-30 Thread Michael Droettboom
On 05/30/2013 02:27 PM, Chris Barker - NOAA Federal wrote: > On Thu, May 30, 2013 at 8:59 AM, Michael Droettboom wrote: >> I've drafted a MEP with a plan to improve some of the text and font handling >> in matplotlib. >> >> I'd love any and all feedback. > nice writ-up and thanks for workign on th

[matplotlib-devel] Mac binary for 1.3.0rc2; more errors than usual in the unit tests

2013-05-30 Thread Russell E. Owen
I uploaded a binary installer for MacOS X, 64-bit python.org python 2.7. I built it using numpy 1.7.1. This version does not include pytz, dateutil or six, but the included ReadMe says they are prerequisites and suggests installing them with pip. The tests showed more problems than usual. I have

Re: [matplotlib-devel] MEP14: Improve text handling

2013-05-30 Thread Nicolas Rougier
For the free type wrapper, maybe the freetype-py may be of some help: http://code.google.com/p/freetype-py/ I did not wrap all the freetype library but it already allows a fair amount of font manipulation/rendering. For unicode/harfbuzz, I've found this example https://github.com/lxnt/ex-sdl

Re: [matplotlib-devel] MEP14: Improve text handling

2013-05-30 Thread Chris Barker - NOAA Federal
On Thu, May 30, 2013 at 8:59 AM, Michael Droettboom wrote: > I've drafted a MEP with a plan to improve some of the text and font handling > in matplotlib. > > I'd love any and all feedback. nice writ-up and thanks for workign on this. One idea (alternative?) would be to put more effort into the

Re: [matplotlib-devel] ANN: matplotlib-1.3.0rc1

2013-05-30 Thread Chris Barker - NOAA Federal
On Wed, May 29, 2013 at 5:54 PM, Michael Droettboom wrote: > It looks like the ability to include pytz and other dependencies in > binary distributions has been removed? > > It's really just that the matplotlib source no longer includes them. > Binaries can be built however we want them to be. N

[matplotlib-devel] MEP14: Improve text handling

2013-05-30 Thread Michael Droettboom
I've drafted a MEP with a plan to improve some of the text and font handling in matplotlib. I'd love any and all feedback. https://github.com/matplotlib/matplotlib/wiki/Mep14 Mike -- Introducing AppDynamics Lite, a fre