United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4419964 : Metal L&F should inherit font size from windows desktop

Details
Type:
Enhancement
Submit Date:
2001-02-28
Status:
Resolved
Updated Date:
2002-03-09
Project Name:
JDK
Resolved Date:
2002-03-09
Component:
client-libs
OS:
windows_nt,windows_xp,windows_2000
Sub-Component:
javax.swing
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.4.0
Fixed Versions:
1.4.1 (hopper)

Related Reports
Duplicate:
Duplicate:
Duplicate:
Relates:

Sub Tasks

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
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
                                     
2002-04-16
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").
------------------------------------------------------------------------------
                                     
2004-06-11
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
hopper

FIXED IN:
hopper

INTEGRATED IN:
hopper


                                     
2004-06-14



Hardware and Software, Engineered to Work Together