Name: gm110360 Date: 08/25/2004
FULL PRODUCT VERSION :
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b51)
Java HotSpot(TM) Client VM (build 1.5.0-beta2-b51, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Linux infinity 2.6.7-1-386 #1 Thu Jul 8 05:08:04 EDT 2004 i686 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
true type fonts created internally in a swing application with Font.createFont() are available and accessable for internal use in swing applications with java.awt.GraphicsEnvironment.getAvailableFontFamilyNames() in JDK 1.4, but in JDK 1.5 only standard Java fonts are available.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
from the url
http://sourceforge.net/project/showfiles.php?group_id=69142&package_id=68012
get RabtIM.jar, RabtPad.jar and copy in a directory.
start application in new directory with java -Djava.ext.dirs=. -jar RabtPad.jar
in the font list with JDK 1.5 only java standard fonts are availabel, fonts installd internally with
createFont() are no more listed via getAvailableFontFamilyNames, in JDK 1.4 is was correct.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
font list with java standard fonts and additionally in the list user fonts.
ACTUAL -
only standard fonts are available
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
above example to reproduce, or the source is availabel at
http://prdownloads.sourceforge.net/rabtpad/rabt20040106_source.tgz?download
or
http://sourceforge.net/project/showfiles.php?group_id=69142&package_id=68012.
See the class RabtPad.java and search for method getAvailableFontFamilyNames...
---------- END SOURCE ----------
Release Regression From : 1.4.2
The above release value was the last known release where this
bug was known to work. Since then there has been a regression.
(Incident Review ID: 300488)
======================================================================