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

RFE: Getting a java.awt.Font's FilePath

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 1.4.0, 1.4.1, 6
    • client-libs
    • 2d
    • Fix Understood
    • x86
    • windows_xp



      Name: jk109818 Date: 09/24/2002


      FULL PRODUCT VERSION :
      java version : 1.4.0_01
      J2RE, SE : 1.4.0_01-b03
      HotSpot client VM : 1.4.0_01-b03 mixed mode

      FULL OPERATING SYSTEM VERSION :
      Microsoft Windows XP [5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      The problem is some classes need to know the path to a ttf
      (or ttc) file to create their own Fonts (not a subClass of
      java.awt.Font .

      It would be very interesting if a FilePath
      java.awt.Font.getFilePath() method existed.

      Another possibilty would be to have a way of getting the
      folders in which the font are located (either in the JRE or
      in the system) and let the user find the wanted files. this
      could be a FilePath
      GraphicsEnvironment.getDefaultFontFolders() .

      REPRODUCIBILITY :
      This bug can be reproduced always.
      (Review ID: 164849)
      ======================================================================

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

              Created:
              Updated:
              Imported:
              Indexed: