You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Bob Carpenter <bo...@engineer.com> on 2004/03/04 23:16:16 UTC
SVG File Not Displaying in SlideShow
I use Batik 1.5.0/Java 1.4.2/WinXP.
I have created some SVG files using Safe Software's (www.safe.com) FME
Translator to convert from DXF to SVG.
These SVG files will not display using the Batik SlideShow, but they will
display using the JSVGCanvas demo. They will also display using
InternetExplorer.
Here is a link to an example file:
http://www.carpenterdev.com/bobc/aaa.svg.txt
Any ideas on how to solve this so that SlideShow can display the file?
Thanks,
--BobC
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org
RE: SVG File Not Displaying in SlideShow
Posted by Bob Carpenter <bo...@engineer.com>.
Hi Thomas,
Thanks for looking into this problem. Your work-around has me moving forward
again. Will you be putting this in the buglist? I'd be interested if/when a
fix appears.
I'm wrapping up the phase-1 conversion of my app which will use
BufferedImages generated in Batik SlideShow fashion. Phase-2 will
incorporate the JSVGCanvas and discontinue bufi use.
If anyone is interested in my SVGUtils class which reads an SVG file and
returns a BufferedImage please let me know.
--BobC
-----Original Message-----
From: Thomas DeWeese [mailto:Thomas.DeWeese@Kodak.com]
Sent: Friday, March 05, 2004 4:59 AM
To: Batik Users
Subject: Re: SVG File Not Displaying in SlideShow
Hi Bob,
Yes, this is a bug in the slideshow application. I don't know
when I will be able to fix it. The workaround is to add a width
and height attribute to the outermost SVG element that matches the
dimensions of the viewBox.
The basic problem for those that are interested is that the
SlideShow application doesn't notify the BridgeContext (through
the UserAgent class) what it's size is so it "defaults" to 1x1,
the end result is a very small rendering of a very large document :)
Bob Carpenter wrote:
> I use Batik 1.5.0/Java 1.4.2/WinXP.
>
> I have created some SVG files using Safe Software's (www.safe.com) FME
> Translator to convert from DXF to SVG.
>
> These SVG files will not display using the Batik SlideShow, but they will
> display using the JSVGCanvas demo. They will also display using
> InternetExplorer.
>
> Here is a link to an example file:
>
> http://www.carpenterdev.com/bobc/aaa.svg.txt
>
> Any ideas on how to solve this so that SlideShow can display the file?
>
> Thanks,
>
> --BobC
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org
Re: SVG File Not Displaying in SlideShow
Posted by Thomas DeWeese <Th...@Kodak.com>.
Hi Bob,
Yes, this is a bug in the slideshow application. I don't know
when I will be able to fix it. The workaround is to add a width
and height attribute to the outermost SVG element that matches the
dimensions of the viewBox.
The basic problem for those that are interested is that the
SlideShow application doesn't notify the BridgeContext (through
the UserAgent class) what it's size is so it "defaults" to 1x1,
the end result is a very small rendering of a very large document :)
Bob Carpenter wrote:
> I use Batik 1.5.0/Java 1.4.2/WinXP.
>
> I have created some SVG files using Safe Software's (www.safe.com) FME
> Translator to convert from DXF to SVG.
>
> These SVG files will not display using the Batik SlideShow, but they will
> display using the JSVGCanvas demo. They will also display using
> InternetExplorer.
>
> Here is a link to an example file:
>
> http://www.carpenterdev.com/bobc/aaa.svg.txt
>
> Any ideas on how to solve this so that SlideShow can display the file?
>
> Thanks,
>
> --BobC
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org