tried to run Vassal under xubuntu… the graphics came out a bit of a mess as the text label locations are quite different from those under windows. generally there were a few buttons that were vertically padded and the text locations seems to have xtra vertical padding from their respective anchors.
This is probably no more than a difference in font sizes between the two machines. You might do better making the numbers top-justified, rather than trying to set the position of the bottom of the text directly. The only guaranteed way of making the numbers consistent across systems is to use bit-mapped images for the digits and use them in a Layer.
oddly, or perhaps not, this bug is now gone with my new loadup (same module).
had the bug under whatever random jre the openjdk in synaptic loaded, do not have the bug with the sun jdk 6u10 for amd64.
well, I should be precise, the module is slightly changed, but not in any aspect that should affect the graphic prsentation of the pieces. I think the only new thing was I changed one of the html files for the charts.
okay I can definately confirm this is an issue in openjdk 64-bit under 64-bit linux with a xfce desktop (version… hang on… 4.4.2)
it worked with sun jdk 1.6.10 64-bit but fails in this way with openjdk 64-bit, both originally and again now.
the failure happened both times with packages loaded by the xubuntu package manager, but not with the sun version downloaded and installed from the bin (when sun was the only java on the system).
when it is broken the buttons on the menus are all mis-shapen and stretched vertically and the locations of the text are offset while the pieces are stretched horizontally.
now… anyone know of a good way to force vassal to look for the sun jdk on my system instead of openjdk? is it done using one of the java policy tools or is that something completely unrelated?
is there a file somewhere with the java path info that I can edit and flip the locations of sun and open versions? (yes, they should be the same, but it seems at this point they are not in some small buggy detail)
but have no fear… those two policy tool apps… the openjdk one is stretched vertically, the sun one is not… so this is not unique to vassal by any means… but it would be nice if you happen to know a work around to tweak which java gets picked for an app (or vassal in particular)
figured out how to target it, have to type the full path to the jre bin/java file as part of the java call in the sh script AND have to type the path back to the vassal launcher from that jre.
and by doing that confirmed yet again that the sun jre works fine with this setup but the openjdk jre does seem to have this graphics issue.
It is the most up to date version of openjdk from the xubuntu repository as of late last night (nov-26), with an apt clean and update to make sure. I was pretty *nal about it, checking it against the version on the website, because the whole out of date repositories thing is really bugging me. It was version 6, the particulars are numbered differently from the sun updates but let me grab them off the other machine and I will post them here.
I have no idea about what facilities xfce itself provides. If I want to
capture the full screen in GNOME, I can hit the Print Screen key, but
most of the time what I want to capture is a single window. For that, I
would start the GIMP and go go File > Acquire > Screenshot.
I would guess I should be able to make a couple .sh scripts I can click on to execute instead of opening a terminal… but I am also happy for now just with having the vassal.sh script edited to use the sun jdk to avoid this one problem.
however… knowing how to change VM’s is a handy tool to have at my disposal.