https://issues.apache.org/bugzilla/show_bug.cgi?id=53563

          Priority: P2
            Bug ID: 53563
          Assignee: fop-dev@xmlgraphics.apache.org
           Summary: PCLGraphics2D could throw java.awt.HeadlessException
                    in a headless environment
          Severity: normal
    Classification: Unclassified
                OS: Linux
          Reporter: med1...@gmail.com
          Hardware: PC
            Status: NEW
           Version: 1.1dev
         Component: pcl
           Product: Fop

There's a superfluous call to
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDefaultConfiguration().
I don't believe this is necessary and can use the same configuration as the
PDF/PS/AFP-Graphics2D classes. I don't have tests for this, but it seems fairly
obvious from looking at the code (though that could be hubris!)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to