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

[Linux, Font] IllegalArgumentException when trying to open HTMLEditor font name combobox

    XMLWordPrintable

Details

    Description

      8u20, when trying to open HTMLEditor font name combobox, IllegalArgumentException is reported. The font list is not displayed.

      I don't have a linux test machine which has 3D acceleration enabled, so all tests use SW pipeline.

      On one Ubuntu12.04x64, one OEL6.3x86, and one Ubuntu 13.10x86, it shows following exception:
      java.lang.IllegalArgumentException: STRIDE * HEIGHT exceeds length of data
      at com.sun.pisces.PiscesRenderer.inputImageCheck(PiscesRenderer.java:429)
      at com.sun.pisces.PiscesRenderer.fillAlphaMask(PiscesRenderer.java:359)
      at com.sun.prism.sw.SWGraphics.drawGlyph(SWGraphics.java:622)
      at com.sun.prism.sw.SWGraphics.drawString(SWGraphics.java:592)
      at com.sun.javafx.sg.prism.NGText.renderText(NGText.java:312)
      at com.sun.javafx.sg.prism.NGText.renderContent2D(NGText.java:270)
      at com.sun.javafx.sg.prism.NGShape.renderContent(NGShape.java:230)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2067)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1959)
      ......

      Attachments

        Issue Links

          Activity

            People

              fheidric Felipe Heidrich (Inactive)
              jennyh Jenny Huang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: