Hi,
        I tried to download the latest Code from
http://cvs.apache.org/snapshots/xml-fop/xml-fop_20041223052817.tar.gz and
then did a build on it. While converting the fo file into a PDF, I get the
error:

Exception in thread "main" java.lang.OutOfMemoryError
        <<no stack trace available>>

Attaching the fo file. What could be the possible reason?

Thanks,
Saptarshi.

P.S. I performed the build using the "build.bat" file from FOP 0.20.5; The
build was successful. Could this have anything to do with this error?


-----Original Message-----
From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 23, 2004 3:36 PM
To: [EMAIL PROTECTED]
Subject: Re: Handling multiple spaces


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/PDFTran
scoder.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]

Attachment: pieUnicodeSVG.fo
Description: pieUnicodeSVG.fo

-----------------------------------------------------------------------------------------------------------------------------
Disclaimer
-----------------------------------------------------------------------------------------------------------------------------

"This message(including attachment if any)is confidential and may be 
privileged.Before opening attachments please check them
for viruses and defects.MindTree Consulting Private Limited (MindTree)will not 
be responsible for any viruses or defects or
any forwarded attachments emanating either from within MindTree or outside.If 
you have received this message by mistake please notify the sender by return  
e-mail and delete this message from your system. Any unauthorized use or 
dissemination of this message in whole or in part is strictly prohibited.  
Please note that e-mails are susceptible to change and MindTree shall not be 
liable for any improper, untimely or incomplete transmission."

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

Reply via email to