Hi,

I'm working with Batik 1.6 on x86_64 linux with Blackdown 1.4.2-02
(64bit). I'm displaying a dynamic document in a JSVGCanvas, and am
trying to keep it top-left aligned, and still have it scale when I
resize the frame the canvas is in.
For this I set preserveAspectRatio="xMinYMin meet" on my document's
outermost svg. Initially, the canvas' preferred size matches the
width/height ratio of the document.
If I resize the window grabbing it by the bottom-right angle,
everything's fine. Now if I do so from just the right side or the bottom
side, it seems fine at first (scaling on reduction, and no change on
extension, as expected), but after an extension, subsequent reducing
resizes will cause parts of the document to get lost past the top or
left side. It looks like something in the coordinate system got
corrupted in the process. Reinitialising the view with CTL+SHIFT+Right
click doesn't solve the issue.
If this is really a Batik bug and not me missing something, I suspect
the problem lies in JSVGComponent.updateRenderingTransform(), but
nothing I could spot on quick inspection given my limited understanding
of how this works.

Regards,
Thomas



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

Reply via email to