From e2c2fa2ba9d5c4cd80a7fafd6b94bbf300d6b5cf 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@224 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_gfx.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/program/src/rrd_gfx.c b/program/src/rrd_gfx.c index 103f2132..1a09a4ef 100644 --- a/program/src/rrd_gfx.c +++ b/program/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