JDK-4750523 : java.awt.Font.createFont() triggers search of all fonts on system
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 1.3.0,1.4.1
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic,windows_2000
  • CPU: generic
  • Submitted: 2002-09-19
  • Updated: 2002-10-16
  • Resolved: 2002-10-16
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 Other
1.4.1_02 02Fixed 1.4.2Fixed
Description
Because of implementation details of the way Font.createFont(..) works
it always triggers SunGraphicsEnvironment.loadfonts()

This is unncessary, slow, and worse, can cause crashes on systems with
bad fonts.

This problem exists in all releases from 1.3 up to and including 1.4.1

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: 1.4.1_02 mantis FIXED IN: 1.4.1_02 mantis INTEGRATED IN: 1.4.1_02 mantis mantis-b04
14-06-2004

EVALUATION As per description ###@###.### 2002-09-19 ===============================
19-09-2002