|
From: John H. <jdh...@ac...> - 2004-02-13 20:07:30
|
>>>>> "Vittorio" == Vittorio Palmisano <re...@em...> writes:
Vittorio> I have rebuild the package with support for gtkgd. I
Vittorio> have tried to build also the agg backend, but I can't
Vittorio> find the source package for this library! I've found two
Vittorio> version: one from http://antigrain.com and another from
Vittorio> scipy cvs, but seems that there are some missing headers
Vittorio> when I compile the backend. I have also packaged the
Vittorio> gdmodule from
Vittorio> http://newcenturycomputers.net/projects/gdmodule.html
Vittorio> and the ttfquery module from
Vittorio> http://sourceforge.net/projects/ttfquery/, all the debs
Vittorio> are on http://anakonda.altervista.org/debian/
Wow, amazing work.
You may want to look at the header of matplotlib.backends.backend_agg
- this includes some install instructions, where to get agg, etc...
However, that may not be necessary.
I have built a new sdist that has all the prereqs for agg built in
(fonttools, ttfquery, and agg2). You just have to set BUILD_AGG in
setup.py and it should build, as long as your compiler is fairly
recent. I'll leave it to you whether you want to use debian to get
fontools and ttfquery, or use the ones included with matplotlib. I
stripped all the fluff out of those 3 packages and with everything
included the sdist is still under a megabyte.
http://nitace.bsd.uchicago.edu:8080/files/share/matplotlib-0.50p.tar.gz
I used this to build an all-in-one win32 installer, which will be nice
because now win32 users with Numeric can make PS and PNG plots out of
the box (zlib, libpng, freetype are statically built in).
I'm going to upload the snapshot if you want to experiment with it. I
should warn you though: I forgot yesterday that there is still a
critical bug in wx that must be repaired. Thus there will be one more
revision following this one. (Sorry)
JDH
|