xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thomas.dewe...@kodak.com
Subject Re: Exception with Batik slideshow
Date Tue, 05 Aug 2008 09:40:33 GMT
Hi Reydet,

"Reydet Gonzague" <gonzague.reydet@gmail.com> wrote on 07/31/2008 09:46:59 

> In fact slideshow works when I add the width and height parameters 
> in the top level svg element. Are those parameters required in the 
> SVG recommendation or is it a bug/limitation of slideshow?

   It's a limitation of the slideshow app.

> Another issue is that I can't run animated SVG within batik 
> slideshow whereas the animation works within squiggle. Does 
> slideshow support animated SVG or is it another limitation of this tool?

   The slideshow only supports static SVG.  I would suggest using two
JSVGCanvas's if you want to show animation.

> Finally is it possible to make slideshow reload the SVG file 
> automatically each time this one is modified?

   It's possible but you would have to write the code ;)

> 2008/7/31 Helder Magalhães <helder.magalhaes@gmail.com>
> > I am trying to use Batik slideshow software to display a fullscreen 
> > file, but when I execute the command I obtain a black full screen and 
I get
> > an exception. Following is what I obtain:
> >
> > <?xml version="1.0" encoding="UTF-8"?><svg
> > xmlns="http://www.w3.org/2000/svg">
> > <text fill="darkslateblue" text-anchor="middle" font-weight="bold"
> > font-size="26" y="300" x="512">Results</text>
> > </svg>
> >
> > Is there anything wrong with my usage of this software?

> I'd say there's nothing wrong with it. Few suggestions which may help
> finding out the root cause (to help tracking down the issue):
>  * Try setting "height" and "width" properties to "100%" on the root
> "svg" element: although they are implicit, there may be some issue
> with the default canvas used by the tool;
>  * Replace "darkslateblue" with an hexadecimal-based color: may Batik
> miss some more excentric colors?
> Please make these (and potentially more) attempts to try reducing
> (therefore isolating) the problem so a Batik developer can take a more
> informed look at this potential issue. ;-)
> > Where can I find more documentation on this tool (I didn't find 
> > about slideshow on the batik pages)?
> Apparently the only documentation is the one shipped with the tool
> itself (i.e., the argument list displayed when the tool is invoked
> without any parameter). There seem to be 5 applications (rasterizer,
> slideshow, svgbrowser, svgpp, ttf2svg) but only 4 have their own
> documentation [1]. Could you try to marsh up a documentation section
> and/or separate documentation page to be added there? ;-)
> Hope this helps,
>  Helder Magalhães
> [1] http://xmlgraphics.apache.org/batik/tools/index.html
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org

View raw message