xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: Font in SVG error ??
Date Mon, 07 Nov 2005 09:14:44 GMT
Please open your test.svg file in Apache Batik's Squiggle Browser and
check if it's properly handled there. The problem seems to come from
Batik, not from FOP, but maybe something's wrong with your SVG file.
Furthermore, I've got the impression that you cut off a critical part of
the stack trace, namely the exception itself. Without this and without a
complete example of your case it's difficult to say what's wrong.

On 05.11.2005 01:08:43 nicolas boire wrote:
> hello,
> 
> When i try to generate pdf from a svg file , i have
> this error.
> Thanks for your help.
> 
> Niko
> <fo:external-graphic src="test.svg"/>
> 
> -------------------
> test.svg
> -------------------
> <style type="text/css">
> 	<![CDATA[
> @font-face{font-family:'Myriad-Roman';src:url("data:;base64,\
> T1RUTwADACAAAQ .............
> ABwABQAiADwABwBBAFwAIgBlAGUAPgBtAG0APw==")}
> 	]]>
> 	</style>
> 
> 
> ERROR
> Original message:
> 
>         at
> org.apache.batik.css.engine.CSSEngine.parseStyleSheet(CSSEngine.java:1025)
>         at
> org.apache.batik.css.engine.CSSEngine.parseStyleSheet(CSSEngine.java:1003)
>         at
> org.apache.batik.dom.svg.SVGOMStyleElement.getCSSStyleSheet(SVGOMStyleElement.java:125)
>         at
> org.apache.batik.css.engine.CSSEngine.getStyleSheetNodes(CSSEngine.java:810)
>         at
> org.apache.batik.css.engine.CSSEngine.getCascadedStyleMap(CSSEngine.java:697)
>         at
> org.apache.batik.css.engine.CSSEngine.getComputedStyle(CSSEngine.java:755)
>         at
> org.apache.batik.bridge.CSSUtilities.getComputedStyle(CSSUtilities.java:96)
>         at
> org.apache.batik.bridge.CSSUtilities.convertVisibility(CSSUtilities.java:524)
>         at
> org.apache.batik.bridge.SVGSVGElementBridge.createGraphicsNode(SVGSVGElementBridge.java:114)
>         at
> org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:70)
>         at
> org.apache.fop.render.pdf.PDFRenderer.renderSVGDocument(PDFRenderer.java:590)
>         at
> org.apache.fop.render.pdf.PDFRenderer.drawImageScaled(PDFRenderer.java:380)
>         at
> org.apache.fop.render.AbstractRenderer.renderImageArea(AbstractRenderer.java:326)
>         at
> org.apache.fop.image.ImageArea.render(ImageArea.java:107)
>         at
> org.apache.fop.render.AbstractRenderer.renderLineArea(AbstractRenderer.java:516)
>         at
> org.apache.fop.layout.LineArea.render(LineArea.java:519)
>         at org.apache.fop.render.AbstractRenderer.renderBlockArea(AbstractRenderer.java:485)



Jeremias Maerki


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


Mime
View raw message