Add the batik.jar to your classpath. Here is a sample batch file that I
use with FOP 0.20.3 on Windows 2000:
set
ppp=.;\bin\deploy\batik.jar;\bin\deploy\logkit-1.0.jar;\bin\deploy\avalon-framework-4.0.jar;\bin\deploy\xerces-1.2.3.jar;\bin\deploy\xalan-2.0.0.jar;\bin\deploy\fop.jar
java -cp %ppp% org.apache.fop.apps.Fop -s -d -xml %1 -xsl %2 -pdf debug.pdf
-c userconfig.xml
Hope this helps.
-Lou
"Johannes Franz"
<johannes.franz@ To: <[EMAIL PROTECTED]>
rub.de> cc:
Subject: Re: Problem with SVG
10/25/2004 10:32
Please respond
to fop-user
Ok, i have to include Batik. Could you perhaps explain how to do this? I
don't exactly understand the faq.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 25, 2004 1:30 PM
Subject: Re: Problem with SVG
>
> SVG is not natively supported through FOP - it requires Batik. Don't
> forget to include the Batik jar that came with your FOP distribution.
>
> See http://xml.apache.org/fop/graphics.html#batik
> or
> http://xml.apache.org/fop/graphics.html#svg
>
> -Lou
>
>
>
>
> Johannes Franz
> <johannes.franz@ To:
> [EMAIL PROTECTED]
> rub.de> cc:
> Subject: Problem with SVG
> 10/25/2004 03:41
> Please respond
> to fop-user
>
>
>
>
>
> Hi there,
>
> i wanted to know how many svg images fop can embed before the
> outofmemory-error occurs. So i searched the web for a SVG, which is about
> 70kb large. 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?
>
>
> ---------------------------------------------------------------------
> 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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]