You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Ec...@tonbeller.com on 2003/01/20 10:41:10 UTC

Fop able to run without Batik?

Batik is only necessary to generate SVG output, right? I guess, a lot of 
people are using Fop to generate PDF only, but Fop needs batik.jar in any 
case because the driver initializes an "SVG element  mapping":

org.apache.fop.apps.Driver.setupDefaultMappings() :
  addElementMapping("org.apache.fop.svg.SVGElementMapping");

This method will throw a ClassNotFoundException when batik.jar is not in 
the classpath

Maybe the initialization of the element mapping could somehow be moved to 
SVG specific code. Ideally it would be included only when the output 
format requires Batik

Eckard

Re: Fop able to run without Batik?

Posted by Oleg Tkachenko <ol...@multiconn.com>.
Eckard_Buchner@tonbeller.com wrote:

> Batik is only necessary to generate SVG output, right?
Nope, you forgot about svg images.

-- 
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org