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:
> 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 image backend, which is usually used for both on-screen  
> rendering and which also supports saving to a file. When displaying on- 
> screen the default is most probably fine -- Cairo gets its subpixel  
> rendering settings from the OS (fontconfig on Linux) so all is well.
>
> However, when saving to a file, depending on its intended use one may  
> either want to enable/disable subpixel antialiasing/rendering. If it  
> is intended for print you probably want to disable it, however, for  
> web graphics subpixel rendering is extremely common.
>
> Furthermore Cairo also has provisions for subpixel antialiasing for  
> line art. (So the same techniques which are applied to text are also  
> applied to polygons, curves &c.) While none of the backends currently  
> make use of it, it is quite likely that in the future the image  
> backend will support it. Therefore a general subpixel antialiasing  
> setting might be a better bet.
>
> I would therefore suggest having two options: one for when printing  
> and another for displaying on screen. The default for printing/saving  
> should probably be off, while the displaying should be got from the  
> system.
>
> Regards, Freddie.
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image 
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> Matplotlib-devel mailing list
> Matplotlib-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>   

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to