Hello,

I want to to simulate a virtual paper sheet as drawing background by loading
following SVG at program startup to my JSVGCanvas. The JSVGCanvas
is embedded in a JSVGScrollPane. The JSVGScrollPane is in JPane which
is in a JFrame. Everything is right till I'm going to resize the JFrame and
scroll around with scrollbars of the JSVGScrollPane ... The inner svg
suddenly sticks to to upper left corner and the intended inset vanishes.

This is reproduceable at Linux and Windows JDK 1.5.0_10. I'm using
the SVN version of Batik.

Where do I go wrong or is this a bug?

kind regards, Sascha

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";>

<svg width="230mm" height="317mm" version="1.1"
xmlns="http://www.w3.org/2000/svg";>
  <svg width="210mm" height="297mm" x="10mm" y="10mm"
id="viewer-layout-sheet-svg"
    overflow="visible">
    <rect x="0" y="0" width="210mm" height="297mm"
        style="fill:white"
        id="viewer-layout-sheet-svg"/>
  </svg>
</svg> 

At 

-- 
View this message in context: 
http://www.nabble.com/Nested-svgs-and-JSVGScrollPane-tf2794054.html#a7794851
Sent from the Batik - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to