A suggestion ... Alan -------- Original Message -------- Subject: Re: missing pixels for Windows PNG driver List-Post: gretl-users@gretlml.univpm.it Date: Mon, 02 Nov 2009 11:33:28 -0800 From: sfeam <sfeam(a)users.sourceforge.net> Reply-To: sfeam(a)users.sourceforge.net Organization: gnuplot development team Newsgroups: comp.graphics.apps.gnuplot
We request full hinting for png output but turn it off for pdf output. You could try this simple change to cairo.trm: --- ./cairo.trm.buggy 2009-09-13 10:49:16.000000000 -0700 +++ ./cairo.trm 2009-11-02 11:30:02.000000000 -0800 @@ -418,8 +418,8 @@ void cairotrm_init() surface = cairo_image_surface_create( CAIRO_FORMAT_ARGB32, plot.device_xmax /*double width_in_points*/, plot.device_ymax /*double height_in_points*/); - /* png is bitmapped, let's do the full hinting */ - plot.hinting = 100; + /* png should like hinting, but there seems to be a problem */ + plot.hinting = 0; /* png is produced by cairo "image" backend, which has full support * of OPERATOR_SATURATE */ plot.polygons_saturate = TRUE;