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

Custom font work with older JRK but not with a newer JRE

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
    • Environment:

      Windows Vista
      java version "1.6.0_21"
      Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
      Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode, sharing)

      Description

      I build a javafx application with a custom font following these instructions: http://fxexperience.com/2010/05/how-to-embed-fonts/

      And it works. Unless I try to run it as an applet, or as a web-start app. When I run it outside of netbeans it doesn't work, I don't get my custom font loaded, no errors or warnings. If I run the jnlp file outside with my older jdk it loads the font and works correctly.

      My netbeans is using an older JDK 1.6.0_14, but my system default jre is 1.6.0_21-b07. When it works with web start, I get the sun-java splash screen, when it doesn't work I get the oracle-java splash screen.

        Attachments

        1. Hero.zip
          188 kB
        2. HeroFX2.zip
          251 kB
        3. standard-execution.jpg
          standard-execution.jpg
          162 kB
        4. web-start.jpg
          web-start.jpg
          159 kB

          Activity

            People

            • Assignee:
              prr Philip Race
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: