Some displays report incorrect DPI values. Allow the DPI value to be overridden by setting:
-Dcom.sun.javafx.screenDPI=<integer>
This is likely to be useful in embedded scenarios where i) we are more likely to get junk values for DPI and ii) if there is only one application running anyway, with a known screen model, it is reasonable to set a DPI value on the command line.
-Dcom.sun.javafx.screenDPI=<integer>
This is likely to be useful in embedded scenarios where i) we are more likely to get junk values for DPI and ii) if there is only one application running anyway, with a known screen model, it is reasonable to set a DPI value on the command line.