You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Cecile Cornillon <c....@comidoc.fr> on 2005/02/15 11:10:00 UTC

Is SVGZ allowed in FOP ?

Hello everybody,
I am a brand new user of FOP and I have a question : I would like to create PDF documents using the fo:external-graphic tag, but I am using the svgz format, and not the svg. It looks like FOP does not recognize this format ?
Has anyone encountered this situation before ?
Thanks a lot for your answers...;
C�cile



Re: Is SVGZ allowed in FOP ?

Posted by Jeremias Maerki <de...@greenmail.ch>.
FOP 0.20.5 doesn't recognize SVGZ for an fo:external-graphic.

What you can try, though, is to use a little SVG wrapper inside an
fo:instream-foreign-object where you reference the external SVG file
using an "image" element. Should work but I haven't tried. This way the
external SVG is loaded by Batik and not by FOP.

I hope that helps.

On 15.02.2005 11:10:00 Cecile Cornillon wrote:
> Hello everybody,
> I am a brand new user of FOP and I have a question : I would like to
> create PDF documents using the fo:external-graphic tag, but I am using
> the svgz format, and not the svg. It looks like FOP does not recognize
> this format ?
> Has anyone encountered this situation before ?
> Thanks a lot for your answers...;
> Cécile
> 
> 



Jeremias Maerki


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