ICEpdf
  1. ICEpdf
  2. PDF-1149

opengl rendering with custom composite causes internal error

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.2.3
    • Fix Version/s: 6.2.4
    • Component/s: Core/Rendering
    • Labels:
      None
    • Environment:
      macOS and Sun JDK

      Description

      A community member has sent us a test case that contains a multiply composite blending effect on a highlight annotations appearance stream. When the content stream shapes are rendered on OSX on a Oracle JDK the following exception is thrown.

      Caused by: java.lang.InternalError: not implemented yet
      at sun.java2d.opengl.OGLSurfaceData.getRaster(OGLSurfaceData.java:397)
      at sun.java2d.pipe.GeneralCompositePipe.renderPathTile(GeneralCompositePipe.java:100)
      at sun.java2d.pipe.SpanShapeRenderer$Composite.renderBox(SpanShapeRenderer.java:60)
      at sun.java2d.pipe.SpanShapeRenderer.spanClipLoop(SpanShapeRenderer.java:213)
      at sun.java2d.pipe.SpanShapeRenderer.renderSpans(SpanShapeRenderer.java:196)
      at sun.java2d.pipe.SpanShapeRenderer.draw(SpanShapeRenderer.java:90)
      at sun.java2d.pipe.PixelToShapeConverter.drawLine(PixelToShapeConverter.java:52)
      at sun.java2d.pipe.ValidatePipe.drawLine(ValidatePipe.java:62)
      at sun.java2d.SunGraphics2D.drawLine(SunGraphics2D.java:2137)
      at ogl.CustomCompositeTest$TestComponent.renderTest(CustomCompositeTest.java:100)
      at ogl.CustomCompositeTest$TestComponent.paintComponent(CustomCompositeTest.java:86)
       

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #51480 Mon May 08 11:09:31 MDT 2017 patrick.corless PDF-1149 addition of system property org.icepdf.core.paint.disableBlendComposite
        which can be used on macOS to prevent a rendering exception on JDK 1.8.0.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/pobjects/graphics/BlendComposite.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #51479 Mon May 08 11:09:21 MDT 2017 patrick.corless PDF-1149 addition of system property org.icepdf.core.paint.disableBlendComposite
        which can be used on macOS to prevent a rendering exception on JDK 1.8.0.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.2.0/icepdf/core/src/org/icepdf/core/pobjects/graphics/BlendComposite.java

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: