From 5ef54f1d335624d9a30306a3105b84fe21255fa1 Mon Sep 17 00:00:00 2001 From: oetiker Date: Wed, 19 Nov 2003 06:58:36 +0000 Subject: [PATCH] fixed svg generation git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@224 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_gfx.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); -- 2.30.2