From: oetiker Date: Wed, 19 Nov 2003 06:58:36 +0000 (+0000) Subject: fixed svg generation X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e2c2fa2ba9d5c4cd80a7fafd6b94bbf300d6b5cf;p=rrdtool-all.git fixed svg generation git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@224 a5681a0c-68f1-0310-ab6d-d61299d08faa --- 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);