[ 
https://issues.apache.org/jira/browse/PIVOT-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14300821#comment-14300821
 ] 

João Martins commented on PIVOT-964:
------------------------------------

For more information: I'm developing an application in which the viewBox is 
translated and scaled to display a large "world", by recentering the viewBox 
and zooming in and out.

The boundary between the SVG rendering and not rendering doesn't appear to be 
totally arbitrary. It seems related to some sort of bounds, but having a zoomed 
out view sometimes renders while zooming in ceases to render. Moving the 
viewBox overly to the left, right, top or bottom of the 2000x1000 rectangle 
seems to stop the rendering. If one remains in the vicinity of the 0,0 origin, 
zooming in and out, even translating a little bit around it (i.e. less than 
1000 away) seems to work fine.

Hopefully this is useful information. I really hope this can be fixed soon - 
it's impossible to use the application otherwise.

> Changes in SVG viewBox attribute causes SVG not to render.
> ----------------------------------------------------------
>
>                 Key: PIVOT-964
>                 URL: https://issues.apache.org/jira/browse/PIVOT-964
>             Project: Pivot
>          Issue Type: Bug
>    Affects Versions: 2.0.4
>         Environment: Windows 7, Java 1.7, Eclipse, Pivot 2.0.4, svgSalamander
>            Reporter: João Martins
>              Labels: svgSalamander
>         Attachments: TestClient2.java, TestClient3.java
>
>
> We try to display a simple SVG file with a rect of width 2000 and height 
> 1000. This is done using an ImageView.
> We have two values of viewBox, both of which capture at least part of the 
> rectangle. For one of them, the rectangle is rendered. For the other, it 
> isn't (but should).
> The exact same scenario, using svgSalamander & Java Swing, works. With Pivot 
> instead of Swing, it does not.
> Here is a Swing minimal example: http://pastebin.com/i0xJbUTg
> Here is a Pivot minimal example: http://pastebin.com/tpgnVe0c



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to