[
https://issues.apache.org/jira/browse/PIVOT-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14604286#comment-14604286
]
João Martins commented on PIVOT-964:
------------------------------------
Hi,
Life has been rough, but I'm trying to figure this out again. There are clearly
a lot of problems with my build system for this, which is something I plan to
rectify at some point, but I feel like it will be an investment.
Did you try FTL-Client/org.fullthrust.client.TestClient3? This is a fairly
minimal example that allows you to press 2 buttons which set different
viewboxes. One of them displays the SVG, the other one does not. I believe it
is exactly the same as what is happening for me. It might be a lot easier than
getting a client-server thing working :)
I will try attempt something with your latest fill:true suggestion to see if I
can figure something out.
> 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)