pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandro Martini (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIVOT-964) Changes in SVG viewBox attribute causes SVG not to render.
Date Wed, 04 Feb 2015 22:11:36 GMT

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

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

Just integrated (Committed in revision 1657421) your test classes, but I had to align with
Pivot ... you can find them under branches/2.0.x (a merge even in trunk will follow next).

Note that because of its usage of SVGSalamander now even the tests subproject must have access
to it to compile (change just done, in eclipse files and in build.xml).

@João:
How do you zoom in/out ? How do you move the ViewBox, using scrolling or other ?
Sorry for questions but I must be sure of what is the error and how to reproduce it ...
Last, if you should do some changes to test files, please use those just integrated and provide
here a diff.


> 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)

Mime
View raw message