Hi Alex, thanks for your patch ... but, before you invest any further time in altering 1.2.x please take a look at the svn trunk of rrdtool development for 1.3 has started in earnest ...
regarding graphics, we will switch to cairo with 1.3 cairo comes with its own svg support, so you may to the check cairo svg out maybe this will solve all the problems you have with the curent version (once it is implemented) ... the same is true for pdf output, which will follow png output to the point including support for truetype fonts and such ... good things ahead ... cheers tobi Today Alexander V Alekseev wrote: > Hello! > > As specified in SVG 1.1 specification > (http://www.w3.org/TR/SVG11/text.html#FontFamilyProperty), the only > fonts you can rely upon are 5 CSS2 font families: > > 'serif', 'sans-serif', 'cursive', 'fantasy', 'monospace' > > (As specified at > http://www.w3.org/TR/REC-CSS2/fonts.html#value-def-generic-family ). > > But RRD 1.2.15 considers all of them unknown. I've made a small > patch (attached), which allows usage of those fonts for SVG output > format. (Font metrics are taken from RRD_AFM_DEFAULT_FONT). > > This patch doesn't solve the general problem, that all font > calculation should depend on output format. But this is just my first patch > to rrd. ;-)) > > Bye. Alex. > > -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten http://it.oetiker.ch [EMAIL PROTECTED] ++41 62 213 9902 _______________________________________________ rrd-developers mailing list rrd-developers@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers