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)
commita390dded3e87ac8fd340175a7aa8cf7bce4d02f3
treeab01787685a33a4b96c51e8cb01aaadd352a7c14
parent7c88491f1f8cf72acdf6dca93c967f6b2fde91e9
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/program@118 a5681a0c-68f1-0310-ab6d-d61299d08faa
34 files changed:
configure.ac
doc/rrdgraph.src
examples/4charts.pl.in
examples/bigtops.pl [deleted file]
examples/piped-demo.pl [deleted file]
examples/shared-demo.pl [deleted file]
examples/stripes.pl [deleted file]
libraries/Makefile.am
libraries/afm/COPYRIGHT.txt [new file with mode: 0644]
libraries/afm/Courier-Bold.afm [new file with mode: 0644]
libraries/afm/Courier-BoldOblique.afm [new file with mode: 0644]
libraries/afm/Courier-Oblique.afm [new file with mode: 0644]
libraries/afm/Courier.afm [new file with mode: 0644]
libraries/afm/Helvetica-Bold.afm [new file with mode: 0644]
libraries/afm/Helvetica-BoldOblique.afm [new file with mode: 0644]
libraries/afm/Helvetica-Oblique.afm [new file with mode: 0644]
libraries/afm/Helvetica.afm [new file with mode: 0644]
libraries/afm/Makefile.am [new file with mode: 0644]
libraries/afm/Symbol.afm [new file with mode: 0644]
libraries/afm/Times-Bold.afm [new file with mode: 0644]
libraries/afm/Times-BoldItalic.afm [new file with mode: 0644]
libraries/afm/Times-Italic.afm [new file with mode: 0644]
libraries/afm/Times-Roman.afm [new file with mode: 0644]
libraries/afm/ZapfDingbats.afm [new file with mode: 0644]
libraries/afm/compile_afm.pl [new file with mode: 0644]
libraries/afm/glyphlist.txt [new file with mode: 0644]
libraries/afm/test-afm.c [new file with mode: 0644]
libraries/libart_lgpl-2.3.7/Makefile.in [deleted file]
libraries/libpng-1.2.0/Makefile.in [deleted file]
src/Makefile.am
src/rrd_gfx.c
src/rrd_gfx.h
src/rrd_graph.c
src/rrd_tool.c