From: John H. <jdh...@ac...> - 2003-11-18 17:29:35
|
>>>>> "Jeremy" == Jeremy O'Donoghue <je...@o-...> writes: Jeremy> I'm not concerned by moving targets - the changes to date Jeremy> have been sensible both in improving functionality and Jeremy> rationalising the backend design. Good to hear -- I think the code is becoming much cleaner. Even I understand the way _matlab_helpers and Gcf works now! Jeremy> I may need to think about font size scaling separately - Jeremy> currently I just define the font point size, which Jeremy> probably is not what I should be doing. I may not have Jeremy> time to do this today, but will try to think about it in Jeremy> airport lounges ;-) You probably will. Font size needs to scale with DPI, otherwise when you go to a high res output the fonts look really tiny. I use something like scale = self.dpi.get()/72.0 self._font.set_size(scale*self._fontsize) which as I indicated above is not perfect but gets close. Jeremy> By the way, I noticed on the users list that people are Jeremy> asking for Debian packages. I'm quite happy to do one, but Jeremy> would rather wait until things have calmed down - I'll Jeremy> target the 4.0 release for a .deb on the Sourceforge site. I hope you mean 0.4 <wink>. By 4.0 we'll have already acquired The MathWorks. Jeremy> We'll have to think about how the Debian package Jeremy> dependencies are worked out. My inclination is that we Jeremy> should require appropriate support for at least one Jeremy> backend, and suggest the others. Something like: Required packages: python2.3-numeric, python2.3-numeric-ext, fonttools python2.3-gtk | libgd2-dev | libwxpython Recommended packages: python2.3-gtk, libgd2-dev, libwxpython Yes, I've been wondering about this but don't know enough about debian to know how optional packages are handled. Note that neither gtk, gd, or wx are required if all you want is PS (or Template!) output. For the record, I'll list the dependencies by backend below. Since I am not a debian whiz, I'll just list the actual dependencies and leave it to the experts to sort out the debian packages that provide them matplotlib Numeric PS backend (nothing extra) GTK backend GTK2 pygtk-1.99.16 or later GD backend: gd-2.0.15 gdmodule-0.42 fonttools-2.0b1 TTFQuery-0.2.6 WX backend: wxPython-2.4.2.4 Jeremy> Debian practice would normally provide separate packages Jeremy> matplotlib-doc and matplotlib-examples, so I'll try to Jeremy> arrange that. Jeremy> However, I don't really want to get into doing this until Jeremy> we are ready to make the next release. Debian packaging Jeremy> isn't especially hard, but it is rather tedious... OK, but since we're shooting for release date of around 3 weeks from now, it might be good to lay the groundwork, figure out how to handle the optional dependencies, see if we can get gdmodule packed, etc.... Thanks! John Hunter |