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:[EMAIL PROTECTED]
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: [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]

Reply via email to