Create account / Log in

viewing VASSAL/VASL on a high-resolution screen

Issues with the Vassal engine.

Moderators: Tim M, uckelman

viewing VASSAL/VASL on a high-resolution screen

Postby SeanDeller » December 30th, 2017, 12:10 pm

I just bought a MS Surface Book 2 and a 4K monitor. When I open VASL/VASSAL the font size is very tiny. I can barely read it. When I change the screen resolution the VASL window size/shape changes a bit, but the font remains miniscule. This problem occurs on both the Surface Book screen and the Samsung U28E590D monitor.

How can I enlarge the VASSAL/VASL font size to make the program usable?
SeanDeller
 
Posts: 4
Joined: June 14th, 2013, 12:27 am

Re: viewing VASSAL/VASL on a high-resolution screen

Postby PunTheHun » December 30th, 2017, 2:10 pm

I am not sure whether that is a VASSAL problem. If MS couples font size to screen pixels I think that is the big mistake - text size is normally defined as points (which usually means multiples of 1/72"), not as a size in "that many pixels". I would look for a setting on the MS system to change display size.
Otherwise it would mean that the font used by VASSAL is broken, e. g. that it only has a "screen" definition in pixel size, not an analytic description.
Lutz Pietschker – BGG PunTheHun
Berlin, Germany
User avatar
PunTheHun
 
Posts: 74
Joined: December 11th, 2014, 10:42 am
Location: Berlin, Germany

Re: viewing VASSAL/VASL on a high-resolution screen

Postby SeanDeller » December 30th, 2017, 6:59 pm

SeanDeller
 
Posts: 4
Joined: June 14th, 2013, 12:27 am

Re: viewing VASSAL/VASL on a high-resolution screen

Postby uckelman » January 3rd, 2018, 3:50 am

I've read that Java 9 might do the right thing for high-DPI displays. Has anybody tried running with Java 9?
User avatar
uckelman
Site Admin
 
Posts: 8345
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: viewing VASSAL/VASL on a high-resolution screen

Postby YurkshireLad » January 23rd, 2019, 7:47 pm

Someone tried OpenJDK 9 and it crashed:

www.vassalengine.org/forum/viewtopic.php?f=3&t=10473
YurkshireLad
 
Posts: 2
Joined: January 23rd, 2019, 7:41 pm

Re: viewing VASSAL/VASL on a high-resolution screen

Postby Cundiff » January 24th, 2019, 11:32 pm

Tried the fix described on Facebook, but didn't work. I suspect it's because I'm running Win7. Here and there the fix refers to Win10. And several of the steps the fix mentions do not appear on Win7.

So, I'm still stuck with tiny fonts.
Cundiff
 
Posts: 123
Joined: January 3rd, 2017, 8:51 am

Re: viewing VASSAL/VASL on a high-resolution screen

Postby zgrose » January 25th, 2019, 2:44 pm

Windows 10, OpenJDK11 seemed to work well for high DPI.
I used a slightly different solution to the XML library issue described here
viewtopic.php?f=3&t=10714&start=15
but other than that was nice and normal sized.
zgrose
 
Posts: 46
Joined: September 8th, 2010, 4:31 am

Re: viewing VASSAL/VASL on a high-resolution screen

Postby uckelman » January 26th, 2019, 12:24 am

Thus spake zgrose via messages:
> Windows 10, OpenJDK11 seemed to work well for high DPI.
> I used a slightly different solution to the XML library issue described
> here
> viewtopic.php?f=3&t=10714&start=15[1]

Would you please describe what that solution was?

--
J.
User avatar
uckelman
Site Admin
 
Posts: 8345
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: viewing VASSAL/VASL on a high-resolution screen

Postby zgrose » January 26th, 2019, 12:38 am

I happened to drop xercesImpl-2.9.1.jar and xml-apis-2.9.1.jar (maybe I removed something else as well, I already deleted that VM) to address the error:
2019-01-13 15:03:31,127 [1-AWT-EventQueue-0] ERROR VASSAL.tools.ErrorDialog -
java.lang.NoClassDefFoundError: org/w3c/dom/ls/DocumentLS
zgrose
 
Posts: 46
Joined: September 8th, 2010, 4:31 am


Return to Technical Support & Bugs

Who is online

Users browsing this forum: No registered users and 3 guests