Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4419964
Votes 0
Synopsis Metal L&F should inherit font size from windows desktop
Category java:classes_swing
Reported Against 1.4 , merlin-beta , merlin-beta3
Release Fixed 1.4.1(hopper)
State 10-Fix Delivered, request for enhancement
Priority: 4-Low
Related Bugs 4419975 , 4527482 , 4686138 , 4760077
Submit Date 28-FEB-2001
Description
------------------------------------------------------------------------
 xxxxx@xxxxx  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.
------------------------------------------------------------------------
Work Around
N/A
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.
 xxxxx@xxxxx  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.
 xxxxx@xxxxx  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.
 xxxxx@xxxxx  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
 xxxxx@xxxxx  2002-04-16
Comments
  
  Include a link with my name & email   

Submitted On 03-AUG-2001
atr
Metal is supposed to be a cross-platform L&F that looks the
same on all platforms (currently it doesn't work  - I'm
planning to submit a bug for it). 
In my opinion fonts >>should not<< be derived from Windows
desktop. 
If you want your Java application to look like the Windows
one just switch to Windows L&F.


Submitted On 25-AUG-2001
mporta
i think atr is right,  metal should look the same on all
platforms, since is THE  cross platform loo and feel.


Submitted On 13-FEB-2004
vivek_74
I don't know whether this fix have affected my 
application, but it seems it have affected. My 
application is in swings and working fine on JRE1.3, 
now on swithching to JRE1.4, all texts of application 
become bold. Also some of the screens, which are  
having multiple  tabs, tab size has been increased for 
some of them . In addition to that for some of the 
screens some controls have mixed ..for ex. radio 
button and text box. 
I have tried to disable your fixed utility using 
swing.useSystemFontSettings= false at run time , but 
it is not affecting the presentation.

Please do reply back ASAP , as how to proceed .
Thanks and Regards,
Vivek Garg (vivek_garg@yahoo.com)



PLEASE NOTE: JDK6 is formerly known as Project Mustang