@vlaaad You might want to note in the project README that users with hidpi screens may need to set the glass.gtk.uiScale
system property to make Reveal's fonts readable. I did so by adding :jvm-opts ["-Dglass.gtk.uiScale=200%"]
to the deps.edn
Reveal alias.
does javafx really scale things up so easily tho? that's pretty cool 🙂 I wonder if it works w/o gtk. I'm guessing on windows gtk is not used
Afaik javafx uses different renderer on different platforms, so gtk is probably Linux-only thing
According to the docs I was just reading, JavaFX auto-scales for High DPI on both Windows and macOS (it hadn't used to do that in earlier versions). The gtk
setting is Linux-specific because it cannot auto-scale on Linux apparently 😐
@vlaaad I'm not sure beyond my particular case, which is Ubuntu (20.04)/Gnome. Under either wayland or xorg, the Reveal UI was fine on my (regular old) external monitor, but unscaled, hence tiny, on the hidpi internal laptop screen.
Hi Cris! Can you describe circumstances under which this property is needed? I have hidpi screen and the ui is automatically scaled both on Windows and Ubuntu...
Side note — hidpi works for me on Java 11