[rrd-developers] Re[3]: national characters in font; size of png; LINEx - width
Gabriel Borkowski
gabrys at gmail.com
Wed Apr 27 12:39:40 MEST 2005
>>> 2) PNGs are big
> well: minmax.png - 109298
> i'll try to change libpng to older version, to see if the generated
> graphs are still so big...
ok.
it looks that the problem was in newest libpng from debian packet...
(1.2.1 + fixes, afaik). I've forced use of 1.2.8 (watch out - lib name
from debian packet is libpng.3.1.2.1 and builded from 1.2.8 sources:
libpng.3.0.0 - it was confusing ldconfig - symlink @libpng.3 pointed
to libpng.3.1.2.1). Now it looks normal - minmax.png - 16195.
Greetings,
Gabrys
PS.
during compilation i had problems when upgrading from 1.0 to 1.2 with
perl bindings. 'make test' was reporting errors - running ldconfig after
'make install' of rrdtool and then compiling perl bindings again
solved the problem.
PSS.
php4-rrdtool needs slight update:
--- rrdtool.corig Sat Dec 22 21:10:58 2001
+++ rrdtool.c Fri Apr 22 15:10:53 2005
@@ -297,6 +297,7 @@
zval *p_calcpr;
HashTable *args_arr;
int i, xsize, ysize, argc;
+ double ymin, ymax;
char **argv, **calcpr;
@@ -344,7 +345,7 @@
}
optind = 0; opterr = 0;
- if ( rrd_graph(argc-1, &argv[1], &calcpr, &xsize, &ysize) != -1 )
+ if ( rrd_graph(argc-1, &argv[1], &calcpr, &xsize, &ysize, NULL, &ymin, &ymax) != -1 )
{
array_init(return_value);
add_assoc_long(return_value, "xsize", xsize);
--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-developers
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the rrd-developers
mailing list