Question/feedback regarding Windows Hi DPI support and how it will affect applications
Werner Lehmann
lehmann at media-interactive.de
Wed Feb 18 11:31:12 UTC 2015
My usecase is not about "retina or not". It is about showing a report
result in "actual size" which means I need to scale it depending on the
screen DPI.
Current workaround is this...
-Dcom.sun.javafx.screenDPI=109
...but I can't really advertise this to users.
Werner
On 18.02.2015 12:23, Mike Hearn wrote:
> You can reflectively access Screen.getPixelScale() to learn if you're on
> Retina. Of course, don't expect to swap out the JRE for a newer one
> automatically if you do this (I bundle so it's not so problematic).
More information about the openjfx-dev
mailing list