You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by Bill Haneman <bi...@sun.com> on 2001/05/17 15:18:28 UTC

weird stacktrace on bboxOnText.svg

bboxOnText does not display on my linux installation (JVM "1.3.0"
build 1.3.0, HotSpot client, mixed mode).

However it displays the attached stack trace.  It complains about a
non-invertible transform in the
ext.awt.RadialGradientPaint.createContext() call.

-Bill


-- 
--------------
Bill Haneman
Gnome Accessibility / Batik SVG Toolkit
Sun Microsystems Ireland

Re: weird stacktrace on bboxOnText.svg

Posted by Vincent Hardy <vh...@eng.sun.com>.
Bill,

Yes, we actually know about this. The problem is in the text bridge
and the test case was created to make sure we do not forget about the
problem :-).

The problem is that the paint uses the bbox and that the text 
has not been created yet and the bbox is 0,0,0,0

V.

Bill Haneman wrote:
> 
> bboxOnText does not display on my linux installation (JVM "1.3.0"
> build 1.3.0, HotSpot client, mixed mode).
> 
> However it displays the attached stack trace.  It complains about a
> non-invertible transform in the
> ext.awt.RadialGradientPaint.createContext() call.
> 
> -Bill
> 
> --
> --------------
> Bill Haneman
> Gnome Accessibility / Batik SVG Toolkit
> Sun Microsystems Ireland
> 
>   ------------------------------------------------------------------------
>      [java] java.lang.IllegalArgumentException: transform should be invertible
>      [java]     at org.apache.batik.ext.awt.RadialGradientPaint.createContext(RadialGradientPaint.java:463)
>      [java]     at sun.java2d.pipe.AlphaPaintPipe.startSequence(AlphaPaintPipe.java:46)
>      [java]     at sun.java2d.pipe.SpanClipRenderer.startSequence(SpanClipRender
> er.java:59)
>      [java]     at sun.java2d.pipe.DuctusShapeRenderer.renderPath(DuctusShapeRen
> derer.java:79)
>      [java]     at sun.java2d.pipe.DuctusShapeRenderer.fill(DuctusShapeRenderer.
> java:52)
>      [java]     at sun.java2d.pipe.ValidatePipe.fill(ValidatePipe.java:115)
>      [java]     at sun.java2d.SunGraphics2D.fill(SunGraphics2D.java:1616)
>      [java]     at org.apache.batik.gvt.font.AWTGVTGlyphVector.draw(AWTGVTGlyphV
> ector.java:392)
>      [java]     at org.apache.batik.gvt.text.GlyphLayout.draw(GlyphLayout.java:1
> 23)
>      [java]     at org.apache.batik.gvt.renderer.StrokingTextPainter.paintTextRu
> n(StrokingTextPainter.java:435)
>      [java]     at org.apache.batik.gvt.renderer.StrokingTextPainter.paint(Strok
> ingTextPainter.java:90)
>      [java]     at org.apache.batik.gvt.TextNode.primitivePaint(TextNode.java:3
> 7)
>      [java]     at org.apache.batik.gvt.AbstractGraphicsNode.paint(AbstractGrap
> icsNode.java:398)
>      [java]     at org.apache.batik.gvt.TextNode.paint(TextNode.java:298)
>      [java]     at org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(Co
> positeGraphicsNode.java:129)
>      [java]     at org.apache.batik.gvt.CanvasGraphicsNode.primitivePaint(Canva
> GraphicsNode.java:61)
>      [java]     at org.apache.batik.gvt.AbstractGraphicsNode.paint(AbstractGrap
> icsNode.java:398)
>      [java]     at org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(Co
> positeGraphicsNode.java:129)
>      [java]     at org.apache.batik.gvt.filter.GraphicsNodeRed8Bit.genRect(Grap
> icsNodeRed8Bit.java:134)
>      [java]     at org.apache.batik.ext.awt.image.rendered.AbstractTiledRed.cop
> ToRasterByBlocks(AbstractTiledRed.java:630)
>      [java]     at org.apache.batik.ext.awt.image.rendered.AbstractTiledRed.cop
> Data(AbstractTiledRed.java:252)
>      [java]     at org.apache.batik.ext.awt.image.rendered.PadRed.copyData(PadR
> d.java:87)
>      [java]     at org.apache.batik.gvt.renderer.StaticRenderer.repaint(StaticR
> nderer.java:373)
>      [java]     at org.apache.batik.swing.gvt.GVTTreeRenderer.run(GVTTreeRender
> r.java:105)
> 
>   ------------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-dev-help@xml.apache.org

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