reveal

Docs: https://vlaaad.github.io/reveal/ Source: https://github.com/vlaaad/reveal
Cris B 2020-08-04T00:50:31.183100Z

@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.

EmmanuelOga 2020-08-04T09:49:19.184Z

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

vlaaad 2020-08-04T10:09:27.184800Z

Afaik javafx uses different renderer on different platforms, so gtk is probably Linux-only thing

seancorfield 2020-08-04T21:24:34.186300Z

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 😐

Cris B 2020-08-04T21:51:23.186500Z

@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.

vlaaad 2020-08-04T04:16:47.183600Z

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...

vlaaad 2020-08-04T05:34:46.183800Z

Side note — hidpi works for me on Java 11