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

ClassCastException: sun.font.CompositeFont cannot be cast to PhysicalFont

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      b127
    • OS:
      linux

      Backports

        Description


        Java app gives the following exception message:

        Exception in thread "main" java.lang.ClassCastException:
        sun.font.CompositeFont cannot be cast to sun.font.PhysicalFont

          Attachments

          1. CanDisplayTest.java
            0.2 kB
          2. CanDisplayTest2.java
            0.2 kB
          3. Helvetica.ttf
            397 kB

            Issue Links

              Activity

                People

                Assignee:
                dmarkov Dmitry Markov
                Reporter:
                shadowbug Shadow Bug
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: