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

2009-05-11 Thread Darren Dale
On Mon, May 11, 2009 at 2:56 PM, 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 the

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

2009-05-11 Thread Christopher Barker
Freddie Witherden wrote: > I -- personally -- am not a fan of Microsoft's implementation of > subpixel rendering either. I feel that it applies far too heavy > hinting to glyphs in order to force them into the pixel grid. actually, that's a separate issue. the one in that wiki page is taking

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 Christopher Barker
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 the ClearType examples really look any better, and they certainly could

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

2009-05-11 Thread Michael Droettboom
That plan makes sense to me. The argument I was trying to make was against subpixel rendering as a property of each Text object in matplotlib -- but later realised that's not really applicable to what you're doing with the external math tool anyway. Cheers, Mike Freddie Witherden wrote: > H

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

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

2009-05-11 Thread Jouni K . Seppänen
Maybe people understand different things by the name "subpixel rendering". In Agg, subpixel rendering means antialiasing like this: http://www.antigrain.com/screenshots/agg1_01.jpg In Cairo, I'm guessing (since the OP mentioned Microsoft's ClearType) that "subpixel rendering" means utilizing the

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

2009-05-11 Thread Michael Droettboom
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? Mike Eric Firing wrote: > John Hunter wrote: > >> On Sat, May 9, 2009 at 9:32 AM,

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

2009-05-11 Thread Gary Ruben
John Hunter wrote: > The matplotlib.lines.Line2D objects has an antialiased property -- we > could add the same property to matplotlib.text.Text to turn on/off > subpixel rendering (which could also be supported as an rc param) > > JDH What are the supported combinations of subpixel rendering an

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

2009-05-09 Thread Eric Firing
John Hunter wrote: > On Sat, May 9, 2009 at 9:32 AM, Freddie Witherden > wrote: >> 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. >> >> O

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

2009-05-09 Thread John Hunter
On Sat, May 9, 2009 at 9:32 AM, Freddie Witherden wrote: > 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 th

[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