#29 sun.font.StandardGlyphVector.performDefaultLayout()

closed
nobody
None
5
2014-08-20
2012-10-28
No

Not implemented

Issue is fired when trying to use SVG text within Fop via batik

at sun.font.StandardGlyphVector.performDefaultLayout()
at org.apache.batik.gvt.font.AWTGVTGlyphVector.performDefaultLayout()
at org.apache.batik.gvt.text.GlyphLayout.doExplicitGlyphLayout()
at org.apache.batik.gvt.text.GlyphLayout.adjustTextSpacing()
at org.apache.batik.gvt.text.GlyphLayout.getAdvance2D()
at org.apache.batik.gvt.renderer.StrokingTextPainter.getTextChunk(TextNode tn, AttributedCharacterIterator aci, Int32[] iarr, List l, TextChunk stptc)
at org.apache.batik.gvt.renderer.StrokingTextPainter.computeTextRuns(TextNode tn, AttributedCharacterIterator aci, AttributedCharacterIterator[] aciarr)
at org.apache.batik.gvt.renderer.StrokingTextPainter.getTextRuns(TextNode tn, AttributedCharacterIterator aci)
at org.apache.batik.gvt.renderer.StrokingTextPainter.getBounds2D(TextNode tn)
at org.apache.batik.gvt.TextNode.getPrimitiveBounds()
at org.apache.batik.gvt.AbstractGraphicsNode.getTransformedPrimitiveBounds(AffineTransform at)
at org.apache.batik.gvt.AbstractGraphicsNode.getTransformedBounds(AffineTransform at)
at org.apache.batik.gvt.CompositeGraphicsNode.getPrimitiveBounds()
at org.apache.batik.gvt.CompositeGraphicsNode.getTransformedPrimitiveBounds(AffineTransform at)
at org.apache.batik.gvt.AbstractGraphicsNode.getTransformedBounds(AffineTransform at)
at org.apache.batik.gvt.CompositeGraphicsNode.getPrimitiveBounds()
at org.apache.batik.gvt.AbstractGraphicsNode.getBounds()
at org.apache.batik.gvt.AbstractGraphicsNode.paint(Graphics2D gd)
at org.apache.fop.render.pdf.PDFImageHandlerSVG.handleImage(RenderingContext context, Image image, Rectangle pos)
at org.apache.fop.render.intermediate.AbstractIFPainter.drawImage(Image image, Rectangle rect, RenderingContext context, Boolean convert, Map additionalHints)
at org.apache.fop.render.intermediate.AbstractIFPainter.drawImage(Image image, Rectangle rect, RenderingContext context)
at org.apache.fop.render.intermediate.AbstractIFPainter.drawImageUsingImageHandler(ImageInfo info, Rectangle rect)
at org.apache.fop.render.intermediate.AbstractIFPainter.drawImageUsingDocument(Document doc, Rectangle rect)
at org.apache.fop.render.pdf.PDFPainter.drawImage(Document doc, Rectangle rect)
at org.apache.fop.render.intermediate.IFRenderer.renderForeignObject(ForeignObject fo, Rectangle2D pos)
at org.apache.fop.render.AbstractRenderer.renderViewport(Viewport viewport)
at org.apache.fop.render.AbstractPathOrientedRenderer.renderViewport(Viewport viewport)
at org.apache.fop.render.intermediate.IFRenderer.renderViewport(Viewport viewport)
at org.apache.fop.render.AbstractRenderer.renderInlineArea(InlineArea inlineArea)
at org.apache.fop.render.intermediate.IFRenderer.renderInlineArea(InlineArea inlineArea)
at org.apache.fop.render.AbstractRenderer.renderLineArea(LineArea line)
at org.apache.fop.render.AbstractRenderer.renderBlocks(Block parent, List blocks)
at org.apache.fop.render.AbstractRenderer.renderBlock(Block block)
at org.apache.fop.render.intermediate.IFRenderer.renderBlock(Block block)
at org.apache.fop.render.AbstractRenderer.renderBlocks(Block parent, List blocks)
at org.apache.fop.render.AbstractRenderer.renderBlock(Block block)
at org.apache.fop.render.intermediate.IFRenderer.renderBlock(Block block)
at org.apache.fop.render.AbstractRenderer.renderBlocks(Block parent, List blocks)
at org.apache.fop.render.AbstractPathOrientedRenderer.renderReferenceArea(Block block)
at org.apache.fop.render.AbstractRenderer.renderBlock(Block block)
at org.apache.fop.render.intermediate.IFRenderer.renderBlock(Block block)
at org.apache.fop.render.AbstractRenderer.renderBlocks(Block parent, List blocks)
at org.apache.fop.render.AbstractRenderer.renderBlock(Block block)
at org.apache.fop.render.intermediate.IFRenderer.renderBlock(Block block)
at org.apache.fop.render.AbstractRenderer.renderBlocks(Block parent, List blocks)
at org.apache.fop.render.AbstractRenderer.renderFlow(NormalFlow flow)
at org.apache.fop.render.AbstractPathOrientedRenderer.renderFlow(NormalFlow flow)
at org.apache.fop.render.AbstractRenderer.renderMainReference(MainReference mr)
at org.apache.fop.render.AbstractRenderer.renderBodyRegion(BodyRegion region)
at org.apache.fop.render.AbstractRenderer.renderRegionViewport(RegionViewport port)
at org.apache.fop.render.intermediate.IFRenderer.renderRegionViewport(RegionViewport viewport)
at org.apache.fop.render.AbstractRenderer.renderPageAreas(Page page)
at org.apache.fop.render.AbstractRenderer.renderPage(PageViewport page)
at org.apache.fop.render.intermediate.IFRenderer.renderPage(PageViewport page)
at org.apache.fop.area.RenderPagesModel.addPage(PageViewport page)
at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage()
at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage()
at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.makeNewPage(Boolean isBlank, Boolean isLast)
at org.apache.fop.layoutmgr.PageBreaker.handleBreakTrait(Int32 )
at org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(LayoutContext childLC, Int32 nextSequenceStartsOn, Position positionAtIPDChange, LayoutManager restartLM, List firstElements)
at org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(LayoutContext childLC, Int32 nextSequenceStartsOn)
at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(Int32 flowBPD, Boolean autoHeight)
at org.apache.fop.layoutmgr.PageBreaker.doLayout(Int32 )
at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout()
at org.apache.fop.area.AreaTreeHandler.endPageSequence(PageSequence pageSequence)
at org.apache.fop.fo.pagination.PageSequence.endOfNode()
at org.apache.fop.fo.FOTreeBuilder.MainFOHandler.endElement(String , String , String )
at org.apache.fop.fo.FOTreeBuilder.endElement(String uri, String localName, String rawName)
at com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endElement(String namespaceURI, String localName, String qName)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(QName element, Augmentations augs)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement()
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.FragmentContentDriver.next()
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next()
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next()
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Boolean complete)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Boolean complete)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XMLInputSource source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLInputSource inputSource)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(InputSource inputSource)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(Source , SerializationHandler )
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Source , SerializationHandler , String )
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Source source, Result result)

Discussion

    • status: open --> closed
     
  • This should be fixed in the latest development snapshot.