From cd68a15a3d66954eb64aeab43c9288a3ee22f619 Mon Sep 17 00:00:00 2001 From: oetiker Date: Mon, 11 Jun 2007 16:20:20 +0000 Subject: [PATCH] disable gridfitting for vector formats git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1110 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_graph.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.30.2