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

Sandro Martini commented on PIVOT-964:
--------------------------------------

Hi all,
some good news: after some changes (and info) from Roger, I tried to update 
even SvgSalamander to latest stable, so I compile it from their latest tag  
1.0.38 (but had to do a small change in one class there to fix a class not 
found compiler error). And then commit updated jar in branches/2.0.x .
Now if I do some tests with our Pivot964Pivot.java class, all seems to work 
even changing values to those fiound by Roger ... of course wrong behavior (in 
SVGSalamander) could exist the same but with different values.

If all it's ok I can merge latest things even in trunk, tell me.

Note: now I'm worried by availability of fixes for SVGSalamander; even because 
I'm not able to find their jar in usual Maven repositories ... I'll post some 
update on this in a related issue for 2.1.0 .



> 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
>            Assignee: Sandro Martini
>              Labels: svgSalamander
>             Fix For: 2.1, 2.0.5
>
>         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