[drraw-users] SVG rendering problem
R.P. Aditya
aditya at grot.org
Thu Jul 13 11:12:22 EDT 2006
On Thu, Jul 13, 2006 at 10:00:41AM -0400, Christophe Kalt wrote:
> On Jul 13, R.P. Aditya wrote:
> | I can't get the SVG rendering to work...I get no graph at all and the only
> | partially relevant error logged is:
> |
> | Can't find font '/usr/local/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf'
>
> Have you verified this actually prevents the graph from being
> generated? You should be able to tell if you have caching
> enabled (it is by default) by checking to see if a new file
> was created in $tmp_dir
ah, you're right, the SVG file is in fact produced and place in the tmp_dir
I see the problem -- you can't reference a svg image in an img src= manner --
it has to be in the form of:
<embed src="circle.svg" width="50" height="50" type="image/svg+xml" />
and AFAICT CGI.pm doesn't support that (yet?) -- this goes back to an email
conversation you (Christophe) and I had a few months ago...sorry!
Adi
More information about the drraw-users
mailing list