Font Size with high dpi monitor on linux


I have a macbook pro running archlinux; the font size is very hard to read. I tried a few things, but nothing seemed to work. Any tips?

This is all VASSAL 3.2.17 and Archlinux.

export _JAVA_OPTIONS=" -Dawt.useSystemAAFontSettings=on -Dsun.java2d.dpiaware=true"
cd /usr/share/java/vassal && java -classpath lib/Vengine.jar VASSAL.launch.ModuleManager “$@”

With OpenJDK 7 or 8, this results in no change.

With OpenJDK 9 or 10 I get the following error on start:

peterjh@palude /usr/bin $ ./vassal
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dsun.java2d.dpiaware=true
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by (file:/usr/share/java/vassal/lib/Vengine.jar) to field sun.java2d.cmm.ProfileDeferralMgr.deferring
WARNING: Please consider reporting this to the maintainers of
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

And when I open a module (like ASL), I get a crash – error.log attached.

Thanks in advance.

Did you find a solution to this? I installed Vassal onto my Chromebook using Crostini, but the icons and fonts are unusable.