Code

3 patches, #3 depends on #1 as EPS uses AFM for stringwidth too.
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sun, 7 Apr 2002 20:20:27 +0000 (20:20 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sun, 7 Apr 2002 20:20:27 +0000 (20:20 +0000)
commitd5c811c939249334c6cc93758eacab13480808ba
treec92461e0b2a832b6aa74614bf707061d755de8cf
parent1d3c8759b487ca14af7be31f66ccd66bdff7cef4
3 patches, #3 depends on #1 as EPS uses AFM for stringwidth too.

src/rrd_afm.[ch], src/rrd_afm_data.[ch] and changes to rrd_gfx.[ch] to
use AFM for stringwidth in SVG output.

libraries/afm with .afm files for the standard 14 postscript
fonts and perl script to create src/rrd_afm_data.c Includes small test
program to show examples of calculated stringwidth and actual
stringwidth.

Adds EPS output support.
Modifies rrd_tool.c as rrd_graph() changes the argv pointer, and
rrd_tool then always wrote the 200x100 output line to the file (which
probably doesn't do anything for png images, but eps files fail having
it after the %%EOF marker).

-- Peter Speck <speck@ruc.dk>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@118 a5681a0c-68f1-0310-ab6d-d61299d08faa
34 files changed:
program/configure.ac
program/doc/rrdgraph.src
program/examples/4charts.pl.in
program/examples/bigtops.pl [deleted file]
program/examples/piped-demo.pl [deleted file]
program/examples/shared-demo.pl [deleted file]
program/examples/stripes.pl [deleted file]
program/libraries/Makefile.am
program/libraries/afm/COPYRIGHT.txt [new file with mode: 0644]
program/libraries/afm/Courier-Bold.afm [new file with mode: 0644]
program/libraries/afm/Courier-BoldOblique.afm [new file with mode: 0644]
program/libraries/afm/Courier-Oblique.afm [new file with mode: 0644]
program/libraries/afm/Courier.afm [new file with mode: 0644]
program/libraries/afm/Helvetica-Bold.afm [new file with mode: 0644]
program/libraries/afm/Helvetica-BoldOblique.afm [new file with mode: 0644]
program/libraries/afm/Helvetica-Oblique.afm [new file with mode: 0644]
program/libraries/afm/Helvetica.afm [new file with mode: 0644]
program/libraries/afm/Makefile.am [new file with mode: 0644]
program/libraries/afm/Symbol.afm [new file with mode: 0644]
program/libraries/afm/Times-Bold.afm [new file with mode: 0644]
program/libraries/afm/Times-BoldItalic.afm [new file with mode: 0644]
program/libraries/afm/Times-Italic.afm [new file with mode: 0644]
program/libraries/afm/Times-Roman.afm [new file with mode: 0644]
program/libraries/afm/ZapfDingbats.afm [new file with mode: 0644]
program/libraries/afm/compile_afm.pl [new file with mode: 0644]
program/libraries/afm/glyphlist.txt [new file with mode: 0644]
program/libraries/afm/test-afm.c [new file with mode: 0644]
program/libraries/libart_lgpl-2.3.7/Makefile.in [deleted file]
program/libraries/libpng-1.2.0/Makefile.in [deleted file]
program/src/Makefile.am
program/src/rrd_gfx.c
program/src/rrd_gfx.h
program/src/rrd_graph.c
program/src/rrd_tool.c