Missing card and counter text

Thus spake gdaudin:

Hi,

Not an answer to the question, but I also have a non-Retina setup which
is not experiencing the issue.

And here is what the creator of the module (Joel Koepp) told me (in case
it did not reach you) :

“Macs with Retina displays seem to be the only systems affected by this.
Another person I play with has experienced the same thing.”

Best,

Guillaume

Please try this module with the most recent 3.2.3 test build:

vassalengine.org/~uckelman/b … -test.vmod
vassalengine.org/~uckelman/b … macosx.dmg

The module contains one piece, a card from Virgin Queen, which can be
rotated. Try all the possible orientations of the card on a Mac with
a Retina display. Is there a way you can orient the card where the
text renders correctly?


J.

Hi,

I have tried and none of the positions (6, right ?) work.

Best,

Guillaume

Thus spake gdaudin:

Hi,

I have tried and none of the positions (6, right ?) work.

Try doing the same thing with this test build:

vassalengine.org/~uckelman/b … macosx.dmg


J.

Sorry, it does not work either.

Thus spake gdaudin:

Sorry, it does not work either.

Does it fail in exactly the same way as the first one?


J.

[attachment=0]Unnamed module controls-2.jpg[/attachment]Yes. No text is visible in all six positions. The grey background + the picture are.

Ok. Let’s check whether something about the complexity of the SVG is triggering the problem. I’ve uploaded another test module:

vassalengine.org/~uckelman/b … est-2.vmod

It contains a single piece once again, this time a much simpler SVG image, which should look like this:
[attachment=0]test.png[/attachment]
Try dragging that out of the piece palette and rotating it.

Hi,

The border stays visible, but the text is not. I have tried rotating it several times.

Best,

Guillaume

Thus spake gdaudin:

Hi,

The border stays visible, but the text is not. I have tried rotating it
several times.

So, it seems that the problem is not related to the complexity of the
SVG. I’ll have another thing for to try later today.


J.

Thus spake Joel Uckelman:

Thus spake gdaudin:

Hi,

The border stays visible, but the text is not. I have tried rotating it
several times.

So, it seems that the problem is not related to the complexity of the
SVG. I’ll have another thing for to try later today.

I’ve uploaded an archive containing the files for running another test:

vassalengine.org/~uckelman/b … k-test.zip

This test doesn’t involve any of our code. What this will test is
whether Batik’s own SVG viewer is able to render SVG correctly on your
system.

Here’s what to do:

  1. Unzip the archive.
  2. % cd batik-test
  3. % java -jar batik-squiggle.jar test.svg

What you should see first is the splash screen for Batik’s Squiggle
viewer, followed by a window containing a rendering of the same image
from the last test.

Does the test image render correctly this way?


J.

Hi,

Thanks for that.

It does not work. I still have an empty square.

Best,

Guillaume

Greetings!

I have the same issue that Guillaume reported with Vassal (Virgin Queen module) and retina-display macbook pro. Your standalone SVG test with the batik.jar seems to work correctly.

Thanks for your help!

Warmest regards,

Michael

I should mention that I am using:

OSX: 10.8.2

VASSAL-3.2.3-svn8552-retina-svg-macosx

Java:
java version “1.7.0_04”
Java™ SE Runtime Environment (build 1.7.0_04-b21)
Java HotSpot™ 64-Bit Server VM (build 23.0-b21, mixed mode)

Thanks again for helping us fix this!

Warmest regards,

Michael

Aha ! I am running

java version “1.6.0_37”
Java™ SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot™ 64-Bit Server VM (build 20.12-b01-434, mixed mode)

Let me go, upgrade and try again.

Thus spake gdaudin:

Hi,

Thanks for that.

It does not work. I still have an empty square.

This eliminates our code as the problem. Now I’ll ask about the bug on
the Batik mailing list. I’ll report back when I know more.


J.

This is getting curiouser and curiouser.

After upgrade and reboot,

java -version on terminal gives me :
java version “1.6.0_37”
Java™ SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot™ 64-Bit Server VM (build 20.12-b01-434, mixed mode)

But System Preferences Panel tell me I have java 1.7 - (build 1.7.0_13-b20)

Anyway, it still does not work after the upgrade.

Best,

Guillaume

Thus spake mgringo:

“mgringo” wrote:

Greetings!

I have the same issue that Guillaume reported with Vassal (Virgin
Queen module) and retina-display macbook pro. Your standalone SVG test
with the batik.jar seems to work correctly.

Thanks for your help!

Warmest regards,

Michael

I should mention that I am using:

OSX: 10.8.2

VASSAL-3.2.3-svn8552-retina-svg-macosx

Java:
java version “1.7.0_04”
Java™ SE Runtime Environment (build 1.7.0_04-b21)
Java HotSpot™ 64-Bit Server VM (build 23.0-b21, mixed mode)

That’s unexpected.

So, we have the standalone test working with Java 7, but not with
Java 6?

mgringo, do you see the text if you load this module with this build
of VASSAL?

vassalengine.org/~uckelman/b … est-2.vmod
vassalengine.org/~uckelman/b … macosx.dmg


J.

Thus spake gdaudin:

This is getting curiouser and curiouser.

After upgrade and reboot,

java -version on terminal gives me :
java version “1.6.0_37”
Java™ SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot™ 64-Bit Server VM (build 20.12-b01-434, mixed mode)

But System Preferences Panel tell me I have java 1.7 - (build
1.7.0_13-b20)

Start VASSAL and post the errorLog (you can find this under Help >
Error Log in the Module Manager). This will tell us which version
of Java VASSAL is running in.


J.

Here is what I have :

2013-02-18 11:34:28,527 [0-main] INFO VASSAL.launch.StartUp - Starting
2013-02-18 11:34:28,532 [0-main] INFO VASSAL.launch.StartUp - OS Mac OS X
2013-02-18 11:34:28,532 [0-main] INFO VASSAL.launch.StartUp - Java version 1.6.0_37
2013-02-18 11:34:28,532 [0-main] INFO VASSAL.launch.StartUp - VASSAL version 3.2.3-svn8547
2013-02-18 11:34:28,957 [0-AWT-EventQueue-0] INFO VASSAL.launch.ModuleManager - Manager

So Vassal is actually using 1.6 (and Terminal too). I’ll look around and try to solve that.

Best,

Guillaume

Hum… Still no cigar. But Oracle tells me that I have the right Java installed.

typing
% /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -version
Gives me :
java version “1.7.0_13”
Java™ SE Runtime Environment (build 1.7.0_13-b20)
Java HotSpot™ 64-Bit Server VM (build 23.7-b01, mixed mode)

typing
% java -version

gives me the old one.

I am over my head with this one, I am afraid.