Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text is small on a hi-res screen #619

Open
andybalaam opened this issue Apr 18, 2019 · 2 comments
Open

Text is small on a hi-res screen #619

andybalaam opened this issue Apr 18, 2019 · 2 comments
Labels

Comments

@andybalaam
Copy link
Owner

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.

@andybalaam andybalaam added the bug label Apr 18, 2019
@rrthomas
Copy link

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!

@andybalaam
Copy link
Owner Author

Awesome, thank you @rrthomas !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants