----- Original Message ----- From: "Johannes Franz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 28, 2004 9:29 PM
Subject: Re: Problem with SVG
Yes,
i just wanted to test first how to embed one graphic. then i wanted to copy the file - lets say - 100 times and rename it. then i wanted to run my test...
----- Original Message ----- From: "Andreas L. Delmelle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 28, 2004 9:00 PM
Subject: RE: Problem with SVG
-----Original Message----- From: Johannes Franz [mailto:[EMAIL PROTECTED]
Hi,
FYI: since your original question also mentioned 'how many svgs can one embed before the OOMError occurs?', here's a little advice.
You won't be able to accurately test this with just one SVG, you'd need to
have quite a few and all different, because if it's the same one, FOP keeps
it in a cache anyway. I haven't exactly tried myself, but I'm guessing that
if you embed the same graphic once or 100 times, it shouldn't make that much
of a difference...
Besides that:
But when i run fop i get the following error message:...
[ERROR] Batik not in class path
[ERROR] Error while creating area : No ImageReader for this type of image
(file:/home/johannes/AT_PI.vdo/diagram.svg)
What's the problem?batik.jar seems to be added.
From my fop.sh: DIRLIBS=${FOP_HOME}/lib/*.jar
And batik.jar is located in /lib. So any other idea why this problemoccurs?
Hmm... I get the very same error you describe here when I try to render your
supplied files.
Very strange indeed... Only place this error message appears in FOP is in
fop.image.analyser.SVGReader, as a result of a NoClassDefFoundError while
trying to load the image using Batik's classes...
I'm having no trouble viewing the SVG with Batik Squiggle, but I do encounter problems trying to rasterize it, albeit not a NCDFError
Is it possible that Batik *is* loaded, but the rasterizer can't handle the
SVG for some reason, so one of its classes is actually causing the error?
Forcing FOP to deal with it, but that's not exactly what the message in that
'catch' block was meant for...
In any case, you might want to check on batik-user, and ask if someone over
there has a clue why this 'diagram.svg' won't work with their rasterizer.
Greetz,
Andreas
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]