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

java.awt.Font.createFont() triggers search of all fonts on system

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.1_02
    • 1.3.0, 1.4.1
    • client-libs
    • None
    • 2d
    • 02
    • generic
    • generic, windows_2000

        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

              prr Philip Race
              prr Philip Race
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: