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, 25 Feb 2015 23:35:05 GMT

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

Sandro Martini commented on PIVOT-964:

even after your updates and eclipse launch files (thanks :-) ) I get some errors running your

I had to change this line in ReceiveBattleState.java:
            // pane = (GamePane) bxmlSerializer.readObject(new FileInputStream(new File("data/bxml/GamePane.bxml")));
 // original
            pane = (GamePane) bxmlSerializer.readObject(this.getClass(), "data/bxml/GamePane.bxml");
 // new, temp

[DEBUG] Starting state manager with state org.fullthrust.server.states.LoadTutorialState@29af45f4
[DEBUG] EventManager(org.fullthrust.core.events.state.ErrorMsgEvent@1a543937)
[ERROR] Util.loadScenario: IOException Test.xml
[DEBUG] Terminated stateorg.fullthrust.server.states.LoadTutorialState@29af45f4
[DEBUG] Initiating stateorg.fullthrust.server.states.WaitForConnectionsState@31395750
[DEBUG] EventManager(org.fullthrust.server.events.ServerLoginEvent@18b679e1)
[DEBUG] EventManager(org.fullthrust.core.events.state.LogMsgEvent@1f13cd63)
[LOG] User a(/ logged in.
[DEBUG] Terminated stateorg.fullthrust.server.states.WaitForConnectionsState@31395750
[DEBUG] Initiating stateorg.fullthrust.server.states.BattleSyncState@5b21cbdb
[DEBUG] EventManager(org.fullthrust.core.events.state.BattleSyncEvent@13060ee9)
[DEBUG] Terminated stateorg.fullthrust.server.states.BattleSyncState@5b21cbdb
[DEBUG] Initiating stateorg.fullthrust.server.states.FactionChoiceState@79662429
[DEBUG] EventManager(org.fullthrust.core.events.state.ErrorMsgEvent@5349b9a8)
[ERROR] IOException while reading object from a(/
[ERROR] IOException while writing object a(/
[DEBUG] EventManager(org.fullthrust.core.events.state.ErrorMsgEvent@72e9625d)
[DEBUG] EventManager(org.fullthrust.server.events.ServerLoginEvent@3839029b)
[DEBUG] EventManager(org.fullthrust.core.events.state.LogMsgEvent@26da2af3)
[LOG] User a(/ logged in.

[DEBUG] EventManager(org.fullthrust.core.events.state.ErrorMsgEvent@23617fc5)
[ERROR] Problem reading font data/font/Monkirta Pursuit NC.ttf. Defaulting to Arial.
[DEBUG] Starting state manager with state Login
[DEBUG] EventManager(org.fullthrust.core.events.state.LoginEvent@4921bae7)
[DEBUG] Terminated stateLogin
[DEBUG] Initiating stateSynchronising
[DEBUG] EventManager(ChangedStateEvent: ReceiveBattle, Synchronising)
[DEBUG] EventManager(ChangedStateEvent: Login, Login)

And then in the Client GUI I only see all black with a Label "Server waiting for other connections..."
but even after waiting some seconds I can only terminate it, sorry ...

In the meantime I'll try to focus on minimal Test classes.

> 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

View raw message