From: oetiker Date: Mon, 11 Jun 2007 16:20:20 +0000 (+0000) Subject: disable gridfitting for vector formats X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2393f9595896bb18b44ba47c0e33f7d6f63c0618;p=rrdtool-all.git disable gridfitting for vector formats git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1110 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_graph.c b/program/src/rrd_graph.c index 4af6f82a..83887b4f 100644 --- a/program/src/rrd_graph.c +++ b/program/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);