Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4795932

RFE: Java 2D should locate fonts by using the windows registry

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 6
    • client-libs
    • 2d
    • 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)
      ======================================================================

            prr Philip Race
            jkimsunw Jeffrey Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: