JDK-4419964 : Metal L&F should inherit font size from windows desktop
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_nt,windows_2000,windows_xp
  • CPU: x86
  • Submitted: 2001-02-28
  • Updated: 2002-03-09
  • Resolved: 2002-03-09
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.
Other
1.4.1 hopperFixed
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Description
------------------------------------------------------------------------
jeff.dunn@eng 28Feb2001

Metal applications running on a windows platform do not use larger fonts when the user has selected larger fonts via the desktop properties. The font style (that is, the font face) does not need to change, but metal should use the font size requested by the user.

This is a serious problem for users with any visual impairment. It's also a usability problem for everyone, since metal applications do not look like "real" applications, written for the platform.
------------------------------------------------------------------------

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: hopper FIXED IN: hopper INTEGRATED IN: hopper
14-06-2004

SUGGESTED FIX ------------------------------------------------------------------------------ jeff.dunn@eng 28Feb2001 The metal look and feel should query the desktop font size settings at startup and adjust its font sizes accordingly. The desktop properties available on windows can be found by invoking java.awt.Toolkit.getDefaultToolkit().getDesktopProperty("win.propNames"). ------------------------------------------------------------------------------
11-06-2004

EVALUATION It gets hard to draw the line between which properties we should pick up and which we shouldn't. Why not font name too? Why not color? In the end we need to provide a way for vision impaired users to access java applications. To facilitate this we are investigating enabling 4419975, that is, if the user has selected high contrast mode we will choose a limited color set and bigger fonts. For this reason, I am closing this as a duplicate of 4419975. scott.violet@eng 2001-02-28 Based on feedback from Jeff, it looks like the best thing to do would be to have metal pick up font sizes from the desktop properties. scott.violet@eng 2001-03-06 DefaultMetalTheme, on Windows, will now pick up font sizes from the desktop. As with the WindowsLookAndFeel you can disable this by way of the system property swing.useSystemFontSettings. ###@###.### 2001-11-21 As reflected by bug 4668963 this has the ability to break backwards compatability, as such the default will be false. If developers want this functionality they can turn it on by the default 'swing.useSystemFontSettings', ie swing.useSystemFontSettings=true ###@###.### 2002-04-16
16-04-2002