summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6dfe80f)
raw | patch | inline | side by side (parent: 6dfe80f)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 10 May 2005 06:06:49 +0000 (06:06 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 10 May 2005 06:06:49 +0000 (06:06 +0000) |
program/src/rrd_gfx.c | patch | blob | history |
diff --git a/program/src/rrd_gfx.c b/program/src/rrd_gfx.c
index 33621bf0d1188cdb57b50efb04de4ad5da10e76b..9322e9eb7d62b0a9c32f91d09c3a8a4e05af63e8 100644 (file)
--- a/program/src/rrd_gfx.c
+++ b/program/src/rrd_gfx.c
/****************************************************************************
- * RRDtool 1.2.5 Copyright by Tobi Oetiker, 1997-2005
+ * RRDtool 1.2.6 Copyright by Tobi Oetiker, 1997-2005
****************************************************************************
* rrd_gfx.c graphics wrapper for rrdtool
**************************************************************************/
" \"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd\">\n"
"<!--\n"
" SVG file created by\n"
-" RRDtool 1.2.5 Tobias Oetiker, http://tobi.oetiker.ch\n"
+" RRDtool 1.2.6 Tobias Oetiker, http://tobi.oetiker.ch\n"
"\n"
" The width/height attributes in the outhermost svg node\n"
" are just default sizes for the browser which is used\n"
gfx_node_t *node;
fputs(
"%!PS-Adobe-3.0 EPSF-3.0\n"
- "%%Creator: RRDtool 1.2.5 Tobias Oetiker, http://tobi.oetiker.ch\n"
+ "%%Creator: RRDtool 1.2.6 Tobias Oetiker, http://tobi.oetiker.ch\n"
/* can't like weird chars here */
"%%Title: (RRDtool output)\n"
"%%DocumentData: Clean7Bit\n"
case '(':
case ')':
case '\\':
+ pdf_puts(buf, "\\");
+ pdf_put(buf, p, 1);
+ break;
case '\n':
+ pdf_puts(buf, "\\n");
+ break;
case '\r':
+ pdf_puts(buf, "\\r");
+ break;
case '\t':
- pdf_puts(buf, "\\");
- pdf_put(buf, (char)ch, 1);
+ pdf_puts(buf, "\\t");
break;
default:
if (ch >= 126 || ch < 32) {
static void pdf_setup_document(pdf_state *state)
{
- const char *creator = "RRDtool 1.2.5 Tobias Oetiker, http://tobi.oetiker.ch";
+ const char *creator = "RRDtool 1.2.6 Tobias Oetiker, http://tobi.oetiker.ch";
/* all objects created by now, so init code can reference them */
/* HEADER */
pdf_puts(&state->pdf_header, "%PDF-1.3\n");