Re: [matplotlib-devel] Request For Comment on the mathtex Branch

2009-08-04 Thread Freddie Witherden
Hi, On 4 Aug 2009, at 14:12, Michael Droettboom wrote: > However, after doing that I run into another error importing mathtex > from mathtext_demo.py: > >> >>> from mathtex.mathtex_main import Mathtex >> Traceback (most recent call last): >> File "", line 1, in >> File "/home/mdroe/usr/lib/py

Re: [matplotlib-devel] Request For Comment on the mathtex Branch

2009-08-03 Thread Freddie Witherden
Hi, On 3 Aug 2009, at 17:39, Michael Droettboom wrote: > Is there an additional step to install mathtex? I thought the goal > was to make "python setup.py install" work out of the box. This was the goal and I got quite close to achieving it. This latter parts of this thread deal with the spe

[matplotlib-devel] Request For Comment on the mathtex Branch

2009-08-03 Thread Freddie Witherden
Hi all, I have just finished going over the mathtex branch and it appears to be totally feature complete. Furthermore, by using the newest version of mathtex it also benefits from the recent rendering improvements. I am therefore interested to hear peoples comments on it/what can be improve

Re: [matplotlib-devel] mkpg on OSX

2009-08-01 Thread Freddie Witherden
Hi, On 1 Aug 2009, at 18:43, John Hunter wrote: > I tried testing the OSX binaries I built Friday on my local OSX laptop > today, and had a problem with the mkpg installer > > http://drop.io/xortel1/asset/matplotlib-0-99-0-rc1-py2-5-macosx10-5- > zip > > On the sage box I used to do the builds,

Re: [matplotlib-devel] Including mathtex in matplotlib

2009-07-30 Thread Freddie Witherden
Him On 30 Jul 2009, at 02:27, John Hunter wrote: > Isn't this a bit backwards? The point of the GSOC project is to make > the mathtext project available as a smaller, lighter, more widely > accessible project. If it depends on mpl, what have we achieved > except complexity? Don't we want the f

Re: [matplotlib-devel] Including mathtex in matplotlib

2009-07-29 Thread Freddie Witherden
> I second this. I would like to see the new mathtext (and png and > freetype wrappers as necessary, possibly in mathtext) live in the > matplotlib trunk under lib, the same place we put pytz and dateutil. > It can have its own setup and release cycle, but I think it would make > matters simpler t

Re: [matplotlib-devel] Including mathtex in matplotlib

2009-07-28 Thread Freddie Witherden
Hi, I was thinking about the problem of including mathtex in matplotlib earlier and came up with an alternative means of 'solving' the problem. Instead of hacking setup.py to install mathtex on the behalf of matplotlib it may be easier to leave it up to the user/packager to install mathtex. Wh

Re: [matplotlib-devel] Including mathtex in matplotlib

2009-07-26 Thread Freddie Witherden
Hi, > Anyway, since the mathtex setup infrastructure is based on what > matplotlib was already doing, there's a common convention we can > exploit. Essentially, the matplotlib setup.py builds up a list of > extension modules (ext_modules) and packages and then passes those > lists to dist

Re: [matplotlib-devel] Including mathtex in matplotlib

2009-07-24 Thread Freddie Witherden
Hi, On 23 Jul 2009, at 22:46, Gökhan SEVER wrote: > Could you please the advantages of using mathtext? How does it > compare and contrast to the existing interface? The interface itself is mostly the same, although there are a few enhancements to make it easier to use. To main advantages of u

[matplotlib-devel] Including mathtex in matplotlib

2009-07-23 Thread Freddie Witherden
Hi all, With the integration of mathtex into matplotlib nearing completion (just bug fixes really) I think now is a good time to be considering the best way to include mathtex into matplotlib. This has already been discussed on the mathtex mailing list, with Michael proposing a few ways of

Re: [matplotlib-devel] Core PS/PDF Fonts

2009-07-23 Thread Freddie Witherden
Hi, On 23 Jul 2009, at 03:34, John Hunter wrote: > If experience is any guide, you won't hear from the people who depend > on it until you remove support (plaintive pleas to the mailing list > notwithstanding). The old timers love their small PS files, and we > support this because many people ha

[matplotlib-devel] Core PS/PDF Fonts

2009-07-22 Thread Freddie Witherden
Hi all, Currently mathtex does not have support for anything other than TrueType fonts. However, matplotlib can make use of the 14 'core' fonts that are part of the PS/PDF specs. The metrics for these fonts come from AFM files. The question is how important are these as a feature? While I c

[matplotlib-devel] examples/widgets/menu.py and mathtex

2009-07-21 Thread Freddie Witherden
Hi all, I was grepping the source code today for any remaining uses of matplotlib.mathtext in matplotlib and stumbled upon menu.py -- a menu demo/example. Although it does use/import mathtex it seems to only use it for rendering plain (non-math) text using the to_mask function. This is so

[matplotlib-devel] mathtex and matplotlib

2009-07-14 Thread Freddie Witherden
Hi all, For those that are interested: the mathtex summer of code project is making good progress. On the development list for the project, mathtex-...@googlegroups.com there is currently some discussion going on about integrating it back into matplotlib. I encourage all of those who are

Re: [matplotlib-devel] Cairo Backend and Subpixel Rendering

2009-05-11 Thread Freddie Witherden
Hi, On 11 May 2009, at 19:56, Christopher Barker wrote: > Jouni K. Seppänen wrote: >> http://en.wikipedia.org/wiki/ClearType > > Reading that web page, I'm not convinced MS made the right decision > here > -- on my monitor (which is a ViewSonic LCD, probably pretty > standard), > I'm not sure

Re: [matplotlib-devel] Cairo Backend and Subpixel Rendering

2009-05-11 Thread Freddie Witherden
Hi all, On 11 May 2009, at 12:43, Michael Droettboom wrote: > I'm with Eric on this -- let's try to do the right thing without > requiring any user intervention. I actually can't think of a use case > that would require a subpixel argument on text... am I missing > something? Cairo has an imag

[matplotlib-devel] Cairo Backend and Subpixel Rendering

2009-05-09 Thread Freddie Witherden
Hi all, As some of you probably know I am working on the GSoC project to externalise the Mathtex engine from Matplotlib. Today I have been toying around with the renderer using various backends. One of the interesting things that I discovered was that the Cairo backend was making use of sub