On Tue, 22 Apr 2008 15:41:26 -0400, Michael Droettboom wrote:
> My concern with subpixel rendering has always been that it's fine for
> interactive use, but for producing plots that may end up on someone
> else's screen or on a printer, it can actually make matters much worse.

Naturally.

As such, cairo lets you explicitly choose what you want to draw by
setting one of the following values in your font options:

 CAIRO_ANTIALIAS_NONE: Use a bilevel alpha mask.

 CAIRO_ANTIALIAS_GRAY: Perform single-color antialiasing (using
    shades of gray for black text on a white background, for example).

 CAIRO_ANTIALIAS_SUBPIXEL: Perform antialiasing by taking
    advantage of the order of subpixel elements on devices
    such as LCD panels

And most importantly, the default value is as follows:

  CAIRO_ANTIALIAS_DEFAULT: Use the default antialiasing for
    the subsystem and target device

So, (excepting bugs), you should really have to go out of your way to
get cairo to do the wrong thing here.

-Carl

Attachment: pgpRi4mHp5dbv.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to