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.
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]