When I refer to "JAR" I do of course mean "ZIP"...

 

From: John C. Turnbull [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 25 November 2008 18:28
To: '[email protected]'
Subject: Likely Batik bug with SVG scrollbars

 

I am trying to use the scrollbars defined in [1] but there seems to be a bug
in the way Batik handles them.  If you unpack the contents of the attached
JAR and open the SVG in Batik you will find that if you drag the lower image
up as far as it can go and then try to use the top horizontal scroll bar,
the lower image will be scrolled instead.  It seems that Batik thinks the
lower image has moved over the top of the upper one which is not the case.
The same SVG works properly in Opera and ASV.

 

NB. I had to remove the images from the ZIP for size reasons so you will
need to put a couple of JPEGs named "upper.jpg" and "lower.jpg" into the
same directory you unpack the JAR into (any images will do).  You will also
need to scroll to the right to see both images depending on their size.

 

Can anyone see why this buggy behaviour is happening?  Can it be fixed?
Getting SVG scrollbars to work with Batik is critical to my current project
so I really need to resolve this.

 

Thanks,

 

John

 

[1] http://www.carto.net/papers/svg/gui/scrollbar

 

 

Attachment: PGP.sig
Description: PGP signature

Reply via email to