openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #11278
[Bug 1497816] Re: No support for HDPI/retina displays in Java 7/8
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 OpenJDK,
which is subscribed to openjdk-7 in Ubuntu.
https://bugs.launchpad.net/bugs/1497816
Title:
No support for HDPI/retina displays in Java 7/8
Status in openjdk-7 package in Ubuntu:
Incomplete
Bug description:
I have Ubuntu Wily 15.10 installed on a MBP retina and Java GUI apps
(sadly all too common in research fields) are not scaled up to cope
with the high pixel density, and so are displayed with unreadable
fonts, icons, etc, which make them unusable.
This is the case for both the OpenJDK 7 and 8 runtimes.
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: openjdk-7-jre 7u85-2.6.1-2
ProcVersionSignature: Ubuntu 4.2.0-10.11-generic 4.2.0
Uname: Linux 4.2.0-10-generic x86_64
ApportVersion: 2.18.1-0ubuntu1
Architecture: amd64
CurrentDesktop: GNOME
Date: Mon Sep 21 12:58:21 2015
InstallationDate: Installed on 2015-07-22 (61 days ago)
InstallationMedia: Ubuntu-GNOME 15.04 "Vivid Vervet" - Release amd64 (20150422)
SourcePackage: openjdk-7
UpgradeStatus: Upgraded to wily on 2015-08-27 (24 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1497816/+subscriptions
References