From: oetiker Date: Mon, 11 Jun 2007 16:20:20 +0000 (+0000) Subject: disable gridfitting for vector formats X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=cd68a15a3d66954eb64aeab43c9288a3ee22f619;p=rrdtool.git disable gridfitting for vector formats git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1110 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_graph.c b/src/rrd_graph.c index 4af6f82..83887b4 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -2928,16 +2928,19 @@ int graph_paint( im->yimg * im->zoom); break; case IF_PDF: + im->gridfit = 0; im->surface = cairo_pdf_surface_create(im->graphfile, im->ximg * im->zoom, im->yimg * im->zoom); break; case IF_EPS: + im->gridfit = 0; im->surface = cairo_ps_surface_create(im->graphfile, im->ximg * im->zoom, im->yimg * im->zoom); break; case IF_SVG: + im->gridfit = 0; im->surface = cairo_svg_surface_create(im->graphfile, im->ximg * im->zoom, im->yimg * im->zoom);