xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37789] New: - Problems whem printing svg images
Date Mon, 05 Dec 2005 15:00:13 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37789>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37789

           Summary: Problems whem printing svg images
           Product: Batik
           Version: 1.6
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: critical
          Priority: P2
         Component: SVG Viewer
        AssignedTo: batik-dev@xmlgraphics.apache.org
        ReportedBy: gerard.davison@oracle.com


This problem was first noticed when working with SVG icons in Oracle JDeveloper
10.1.3; but after further testing can be reproduced using the batik-squiggle.jar
application.

Simply open the attached umlInterface.svg image using the batik-squiggle.jar and
then try to print the resultant image. You will see just a large grey box where
the image should be. 

The follwing exception was seen on the console:

java.lang.NullPointerException
        at org.apache.batik.ext.awt.MultipleGradientPaintContext.<init>(Unknown
Source)
        at org.apache.batik.ext.awt.LinearGradientPaintContext.<init>(Unknown
Source)
        at org.apache.batik.ext.awt.LinearGradientPaint.createContext(Unknown
Source)
        at apple.awt.OSXSurfaceData.setupPaint(OSXSurfaceData.java:707)
        at apple.awt.OSXSurfaceData.setupGraphicsState(OSXSurfaceData.java:1037)
        at apple.awt.OSXSurfaceData.setupGraphicsState(OSXSurfaceData.java:965)
        at apple.awt.OSXSurfaceData.drawfillShape(OSXSurfaceData.java:1298)
        at apple.awt.CRenderer.drawfillShape(CRenderer.java:536)
        at apple.awt.CRenderer.fill(CRenderer.java:574)
        at apple.awt.CRenderer.fill(CRenderer.java:561)
        at sun.java2d.pipe.ValidatePipe.fill(ValidatePipe.java:142)
        at sun.java2d.SunGraphics2D.fill(SunGraphics2D.java:2582)
        at sun.print.ProxyGraphics2D.fill(ProxyGraphics2D.java:1379)
        at org.apache.batik.gvt.FillShapePainter.paint(Unknown Source)
        at org.apache.batik.gvt.CompositeShapePainter.paint(Unknown Source)
        at org.apache.batik.gvt.ShapeNode.primitivePaint(Unknown Source)
        at org.apache.batik.gvt.AbstractGraphicsNode.paint(Unknown Source)
        at org.apache.batik.gvt.ShapeNode.paint(Unknown Source)
        at org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(Unknown Source)
        at org.apache.batik.gvt.AbstractGraphicsNode.paint(Unknown Source)
        at org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(Unknown Source)
        at org.apache.batik.gvt.CanvasGraphicsNode.primitivePaint(Unknown Source)
        at org.apache.batik.gvt.AbstractGraphicsNode.paint(Unknown Source)
        at org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(Unknown Source)
        at org.apache.batik.gvt.AbstractGraphicsNode.paint(Unknown Source)
        at org.apache.batik.transcoder.print.PrintTranscoder.print(Unknown Source)
        at apple.awt.CPrinterJob$4.run(CPrinterJob.java:533)
        at apple.awt.CPrinterJob.printToPathGraphics(CPrinterJob.java:548)
        at apple.awt.CPrinterJob.printLoop(Native Method)
        at apple.awt.CPrinterJob.print(CPrinterJob.java:223)
        at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1200)
        at org.apache.batik.transcoder.print.PrintTranscoder.print(Unknown Source)
        at org.apache.batik.apps.svgbrowser.JSVGViewerFrame$9.run(Unknown Source)

Interestingly Print to PDF does work while printing from JDeveloper; but not
from the PDF printing tool. In wonder if this is something to do with the
scaling factor applied when printing from squiggle.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


Mime
View raw message