-
Enhancement
-
Resolution: Fixed
-
P4
-
6
-
mustang
-
x86
-
windows_2000
Name: jk109818 Date: 12/18/2002
FULL PRODUCT VERSION :
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
FULL OPERATING SYSTEM VERSION :
Microsoft Windows 2000 [Version 5.00.2195]
A DESCRIPTION OF THE PROBLEM :
Java can't use Fonts in Windows which have been installed,
but not copied to the system fonts directory (see the
closed BUG 4234839). This should at least be documented
(with GraphicsEnvironment.getAllFonts) if you are unwilling
to fix it. As it is the result can be surprising to the
user (and developers).
On my system the full list of installed fonts can be found
under the registry key HKLM\Software\Microsoft\Windows
NT\CurrentVersion\Fonts
This list includes both the font name and the filename
(which is a full path for those not in the system
directory).
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Add any font but deselect the 'copy' checkbox.
2. Look at the list of fonts available in any Java
application that uses fonts. The added font will be missing.
3.
EXPECTED VERSUS ACTUAL BEHAVIOR :
The list of available fonts should have been complete.
This bug can be reproduced always.
CUSTOMER WORKAROUND :
Ensure that all required fonts are copied to the system
font directory.
Ensure that all users are aware of this requirement.
(Review ID: 147059)
======================================================================
- relates to
-
JDK-5027400 Creating UI with WindowsLookAndFeel is slow
- Closed
-
JDK-4145297 Java does not find all fonts on Windows NT
- Closed
-
JDK-4990399 JDWP: JFrame construction performance regression over 1.4.2 (method entry err?)
- Closed
-
JDK-4234839 Java 2D requires windows system fonts to be in a windows system directory
- Closed