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 Ed Koster <ed...@edusoftinc.com> on 2001/07/31 21:05:05 UTC

Problems with different versions of FOP (SVG vs inline-graphics)

I've recently upgraded to Fop 19.0.  While it now provides inline graphic
support, which I need, it broke certain SVG rendering, which I also need.
This SVG rendering still works in Fop 18.1 -  so some of the time I need to
use this old build, and the rest of the time the recent build.

Is the broken SVG code expected to be fixed in the next build, and if so,
when is it expected to come out?  Or is it currently already fixed in CVS?
Also, for now is there any way to switch between different versions of Fop
at runtime (ie to rename all the packages in one of the jars)?

For those who don't know what broken SVG rendering I'm talking about, here's
the exception that's thrown (which oddly enough looks like a CLASSPATH
error):

Exception in thread "main" java.lang.NoSuchMethodError
        at
org.apache.batik.bridge.CSSUtilities.convertVisibility(CSSUtilities.java:376
)
        at
org.apache.batik.bridge.SVGSVGElementBridge.createGraphicsNode(SVGSVGElement
Bridge.java:100)
        at org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:65)
        at
org.apache.fop.render.pdf.PDFRenderer.renderSVGDocument(PDFRenderer.java:386
)
        at
org.apache.fop.render.pdf.PDFRenderer.renderSVGArea(PDFRenderer.java:338)
        at org.apache.fop.svg.SVGArea.render(SVGArea.java:57)
        at
org.apache.fop.render.pdf.PDFRenderer.renderForeignObjectArea(PDFRenderer.ja
va:322)
        at
org.apache.fop.layout.inline.ForeignObjectArea.render(ForeignObjectArea.java
:49)
        at
org.apache.fop.render.PrintRenderer.renderAreaContainer(PrintRenderer.java:1
87)
        at org.apache.fop.layout.ColumnArea.render(ColumnArea.java:31)
        at
org.apache.fop.render.PrintRenderer.renderSpanArea(PrintRenderer.java:255)
        at org.apache.fop.layout.SpanArea.render(SpanArea.java:51)
        at
org.apache.fop.render.PrintRenderer.renderBodyAreaContainer(PrintRenderer.ja
va:240)
        at
org.apache.fop.render.pdf.PDFRenderer.renderPage(PDFRenderer.java:638)
        at
org.apache.fop.render.pdf.PDFRenderer.render(PDFRenderer.java:130)
        at org.apache.fop.apps.Driver.render(Driver.java:487)
        at
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:62)
        at org.apache.fop.apps.Fop.main(Fop.java:19)

Thanks,
e
d


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


Re: Problems with different versions of FOP (SVG vs inline-graphics)

Posted by Keiron Liddle <ke...@aftexsw.com>.
I don't particularly want to give a java lesson (again) but this oddly
enough is a CLASSPATH error.

ie. fix you classpath.

On Tue, 31 Jul 2001 21:05:05 Ed Koster wrote:
> I've recently upgraded to Fop 19.0.  While it now provides inline graphic
> support, which I need, it broke certain SVG rendering, which I also need.
> This SVG rendering still works in Fop 18.1 -  so some of the time I need
> to
> use this old build, and the rest of the time the recent build.
> 
> Is the broken SVG code expected to be fixed in the next build, and if so,
> when is it expected to come out?  Or is it currently already fixed in
> CVS?
> Also, for now is there any way to switch between different versions of
> Fop
> at runtime (ie to rename all the packages in one of the jars)?
> 
> For those who don't know what broken SVG rendering I'm talking about,
> here's
> the exception that's thrown (which oddly enough looks like a CLASSPATH
> error):
> 
> Exception in thread "main" java.lang.NoSuchMethodError
>         at
> org.apache.batik.bridge.CSSUtilities.convertVisibility(CSSUtilities.java:376
> )
>         at
> org.apache.batik.bridge.SVGSVGElementBridge.createGraphicsNode(SVGSVGElement
> Bridge.java:100)
>         at org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:65)
>         at
> org.apache.fop.render.pdf.PDFRenderer.renderSVGDocument(PDFRenderer.java:386
> )
>         at
> org.apache.fop.render.pdf.PDFRenderer.renderSVGArea(PDFRenderer.java:338)
>         at org.apache.fop.svg.SVGArea.render(SVGArea.java:57)
>         at
> org.apache.fop.render.pdf.PDFRenderer.renderForeignObjectArea(PDFRenderer.ja
> va:322)
>         at
> org.apache.fop.layout.inline.ForeignObjectArea.render(ForeignObjectArea.java
> :49)
>         at
> org.apache.fop.render.PrintRenderer.renderAreaContainer(PrintRenderer.java:1
> 87)
>         at org.apache.fop.layout.ColumnArea.render(ColumnArea.java:31)
>         at
> org.apache.fop.render.PrintRenderer.renderSpanArea(PrintRenderer.java:255)
>         at org.apache.fop.layout.SpanArea.render(SpanArea.java:51)
>         at
> org.apache.fop.render.PrintRenderer.renderBodyAreaContainer(PrintRenderer.ja
> va:240)
>         at
> org.apache.fop.render.pdf.PDFRenderer.renderPage(PDFRenderer.java:638)
>         at
> org.apache.fop.render.pdf.PDFRenderer.render(PDFRenderer.java:130)
>         at org.apache.fop.apps.Driver.render(Driver.java:487)
>         at
> org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:62)
>         at org.apache.fop.apps.Fop.main(Fop.java:19)
> 
> Thanks,
> e
> d
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> For additional commands, email: fop-dev-help@xml.apache.org
> 
> 


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