How to know, whether HiDPI is supported?
Hendrik Schreiber
hs at tagtraum.com
Fri Nov 29 04:36:14 PST 2013
Hey..
with some of the Retina work appearing in 1.7.0_60, what is the recommended way for the developer to find out, whether images are/can be scaled, i.e., whether we are dealing with a HiDPI display.
In the past, on the Apple JVM, we used:
final Float scaleFactor = (Float) Toolkit.getDefaultToolkit().getDesktopProperty("apple.awt.contentScaleFactor");
Is there an equivalent?
I very much appreciate that you are pushing some of the work down to 1.7.0_60. Can you say what parts should now/soon work and how to use them?
Thank you,
-hendrik
More information about the macosx-port-dev
mailing list