Fork me on GitHub
#reveal
<
2020-12-17
>
Chase20:12:18

This is going to be a real niche problem but I'm curious where reveal is actually calling up the graphical app. Is it a java jar command? Because on my funky chromebook running a linux container system I would love to throw java -jar -Dsun.java2d.uiScale=2.5 into that command because for various reasons, graphical java apps open up super, super tiny.

seancorfield21:12:31

@chase-lambert I think you can just provide that as a JVM option when starting your REPL (via whatever command you use to start Reveal).

seancorfield21:12:03

Reveal is not "calling up the graphical app" -- it just runs as part of whatever JVM process you start.

3
vlaaad21:12:17

except this option seems to be for java2d, which does not look like something javafx-related

seancorfield21:12:41

Right, I can't remember the correct UI scaling property for JavaFX apps, but I know there is one...

seancorfield21:12:52

(goes to Zulip to search for it)

vlaaad21:12:29

@chase-lambert export GDK_SCALE=2 before starting the JVM might help?

seancorfield21:12:36

adding :jvm-opts ["-Dglass.gtk.uiScale=200%"] to the alias works for Reveal -- that was another suggestion I saw.

vlaaad21:12:51

woah, didn't know about this one

vlaaad21:12:54

Also super tiny scaling implies HiDPI screen, which is not supported in linux on java 8, so update to java 11 might help

Chase21:12:25

the export GDK_SCALE=2.5 answer worked for me! Awesome