JDK-8129862 : Windows Hi-DPI scaling leads to blurry text at 125% (120 dpi)
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 8u60
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-06-25
  • Updated: 2016-05-05
  • Resolved: 2015-06-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u60Fixed 9Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
Hi-DPI scaling on systems with the Windows scale factor set to 125% (which is 120 DPI) leads to blurry text.

We should consider setting the default threshold for Hi-DPI scaling to 150%. If we do, then we very likely need to fix JDK-8087793 as well or the default system font and any controls that are sized in ems will be smaller than it currently is in 8u40.
Comments
http://hg.openjdk.java.net/openjfx/9-dev/rt/rev/4f1b910a726b
27-06-2015

+1 OK to take in 8u60
26-06-2015

http://cr.openjdk.java.net/~flar/JDK-8129862/webrev.00/
26-06-2015

Based on feedback from original reporter of problem, and comments from Phil, I am raising this to P2. Also, it is a regression compared to 8u40, so I am adding the regression label.
26-06-2015

I think we have the following options for 8u60, since anything else seems too risky given that we are running very short of time for 8u60: A) Do nothing for 8u60 and address this issue in 9 This will lead to blurry text when run on systems with the Windows scale set to 125% B) Set the default threshold to 150% leaving the default font unscaled even when Hi-DPI not used (that is, don't fix JDK-8087793) This will resolve the blurry text when run on systems with the Windows scale set to 125%, but applications that use the default font size or use controls sized in ems (which they are with the default Modena CSS style) will now appear smaller than they were with 8u40. This smaller font size could be perceived as a regression. C) Set the default threshold to 150% and scale the default font when Hi-DPI is not used (that is, also fix JDK-8087793) This will resolve the blurry text and revert the behavior when running on on systems with the Windows scale set to 125% to that of 8u40, but has the (existing) oddity that controls and default font are scaled whereas images and graphics are not. The only other option I can see is to set the default threshold to 200% (with or without fixing JDK-8087793) but that seems extreme.
25-06-2015