Please, always follow up on the fop-users mailing list so other people
can profit, too.

The right URL is actually this one:
http://cvs.apache.org/viewcvs.cgi/xml-fop/src/java/org/apache/fop/svg/PDFTranscoder.java

You need to download the HEAD tag (i.e. without any additional
parameters) from CVS as documented here:
http://xml.apache.org/fop/dev/index.html
http://xml.apache.org/cvs.html

Alternatively, CVS snapshots are here:
http://cvs.apache.org/snapshots/xml-fop/

Note to fop-devs: We don't seem to have a link to
http://xml.apache.org/fop/download.html in the menu structure anymore.

On 23.12.2004 10:38:10 Saptarshi Sen wrote:
> Hi,
>       I was trying to get the PDFTranscoder from the head version (as you
> had mentioned). Was checking the logs at the following location:
> http://cvs.apache.org/viewcvs.cgi/xml-fop/src/org/apache/fop/svg/PDFTranscode
> r.java?hideattic=0&rev=1.25&view=log. Can you tell me which one will have the
> required fix; for respecting the xml:preserve attribute.
> 
> Thanks,
> Saptarshi.
> 
> -----Original Message-----
> From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 22, 2004 7:07 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Handling multiple spaces
> 
> 
> Seems to be a bug in the SVG part in FOP 0.20.5. The attribute is
> respected in the new SVG transcoder (in FOP CVS HEAD), however. If you
> only need to convert the SVG into PDF (without any real need for XSL-FO),
> you can try the PDF Transcoder for Batik. Try the one shipped with the
> latest Batik release or if this still doesn't help, download the FOP
> source code from CVS (or using a CVS snapshot) to build the PDF
> Transcoder yourself.
> 
> On 22.12.2004 10:47:51 Saptarshi Sen wrote:
> > The xml:space="preserve" attribute does not seem to have any effect on the
> > PDF generated. The SVG image is within a fo:instream-foreign-object tag. I
> > could not find any attribute that will preserve white spaces.
> > 
> > I am attaching a typical fo file that we generate.
> > 
> > Thanks,
> > Saptarshi.
> > 
> >  <<pieUnicodeSVG.fo>> 
> > 
> > >  -----Original Message-----
> > > From:     Saptarshi Sen  
> > > Sent:     Wednesday, December 22, 2004 12:54 PM
> > > To:       FOP Mailing List (E-mail)
> > > Subject:  Handling multiple spaces
> > > 
> > > Hi,
> > >   We are using FOP to convert SVG images into PDF. The SVG images are
> > > generated using a tool called PopChart.
> > > 
> > >   When we view the SVG image, multiple spaces are collapsed into a
> > > single space. This can be offset using the xml:space="preserve" attribute
> > > in the text tags. Is there any other method by which we can preserve
> > > multiple spaces.
> > > 
> > >   Since I do not have any control over the SVG image produced by
> > > PopChart, can I set any parameters during the FOP call? Alternatively, I
> > > could include the  xml:space="preserve" attribute in my text tags, but
> this
> > > would be very messy. Is there an easier approach?
> > > 
> > > Thanks,
> > > Saptarshi.



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to