From: oetiker Date: Wed, 19 Nov 2003 06:58:36 +0000 (+0000) Subject: fixed svg generation X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=5ef54f1d335624d9a30306a3105b84fe21255fa1;p=rrdtool.git fixed svg generation git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@224 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_gfx.c b/src/rrd_gfx.c index 103f213..1a09a4e 100644 --- a/src/rrd_gfx.c +++ b/src/rrd_gfx.c @@ -1116,8 +1116,11 @@ static void svg_text(FILE *fp, gfx_node_t *node) svg_write_number(fp, x); fputs("\" y=\"", fp); svg_write_number(fp, y); - if (strcmp(node->filename, svg_default_font)) + +/* if (strcmp(node->filename, svg_default_font)) fprintf(fp, " font-family=\"%s\"", node->filename); + */ + fputs("\" font-family=\"Helvetica", fp); fputs("\" font-size=\"", fp); svg_write_number(fp, node->size); fputs("\"", fp);