This isn't an application problem, it's a Java runtime problem. The Java
developers need to add support for Retina/HiDPI to AWT/Swing in the same
way that GTK+ and Qt needed support added. This has been done for both
Windows and OSX versions of the runtime, but not for Linux. See
http://openjdk.java.net/jeps/263

In any case, the applications affected by this for me personally include
JOSM, Weka and Matlab.  To recreate the issue, simply launch the
applications on a computer with a high DPI (i.e. >200 DPI) display.
Observe that the UI is unusable since all user interface elements are
too small to be comfortably seen and interacted with.

Using the workaround about failed to fix the problem for both JOSM and
Weka, using the current versions of those applications as available in
Ubuntu Wily. To test this, I executed the following:

> JAVA_OPTS='-Dsun.java2d.xrender=true -Dswing.aatext=true -Dswing.aatext=true' 
> jsom
> java -jar /usr/share/java/weka.jar -Dsun.java2d.xrender=true 
> -Dswing.aatext=true -Dswing.aatext=true

In both cases, no change in the UI was observed, which is consistent
with it being a runtime, not application problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1497816

Title:
  No support for HDPI/retina displays in Java 7/8

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1497816/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to