No support for HDPI/retina displays in Java 7/8
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-7 (Ubuntu) |
Confirmed
|
High
|
Unassigned |
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
ProcVersionSign
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)
Changed in openjdk-7 (Ubuntu): | |
status: | Incomplete → New |
Changed in openjdk-7 (Ubuntu): | |
importance: | Undecided → High |
Thank you for taking the time to report this bug and helping to make Ubuntu better. OpenJDK does support high DPI displays such as the Retina Display, but sometimes the application is not configured correctly and/or might need additional settings to work.
Please take a look at http:// superuser. com/questions/ 614960/ how-to- fix-font- anti-aliasing- in-intellij- idea-when- using-high- dpi
In particular, try adding these settings when calling the java binary: AAFontSettings= on xrender= true
-Dawt.useSystem
-Dswing.aatext=true
-Dsun.java2d.
If you don't know how to add those or the above settings don't fix your application, please answer these questions:
* What applications are affected by this?
* What version of the application?
* Are there any specific steps should we take to recreate this bug?
This will help us to find and resolve the problem.