Text is small on a hi-res screen
andybalaam opened this issue · comments
On my GPD Pocket the Swing UI has very small text on menus etc. On a Macbook with a Pixel display it is tiny. It should be a reasonable size on any display.
As a workaround, you can run rabbit-escape thus:
$ java -Dsun.java2d.uiScale=2 rabbit-escape.jar
Java >9 already reads the GDK_SCALE
environment variable, if present, but unfortunately more recent GNOME etc. environments do not set this variable! The code to discover the correct scale factor will vary depending on the underlying toolkit used; I don't know whether there is a platform-neutral API for this in recent Swing/Java versions.
At least the above workaround enabled me to run rabbit-escape on my hi-res GNU/Linux systems!
Thanks to all who made Rabbit Escape!
Awesome, thank you @rrthomas !