Return-Path: X-Original-To: apmail-xmlgraphics-fop-users-archive@www.apache.org Delivered-To: apmail-xmlgraphics-fop-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 92EC87483 for ; Fri, 19 Aug 2011 13:39:08 +0000 (UTC) Received: (qmail 51183 invoked by uid 500); 19 Aug 2011 13:39:08 -0000 Delivered-To: apmail-xmlgraphics-fop-users-archive@xmlgraphics.apache.org Received: (qmail 51141 invoked by uid 500); 19 Aug 2011 13:39:07 -0000 Mailing-List: contact fop-users-help@xmlgraphics.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: fop-users@xmlgraphics.apache.org Delivered-To: mailing list fop-users@xmlgraphics.apache.org Received: (qmail 51134 invoked by uid 99); 19 Aug 2011 13:39:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Aug 2011 13:39:07 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bowditch_chris@hotmail.com designates 65.55.111.76 as permitted sender) Received: from [65.55.111.76] (HELO blu0-omc2-s1.blu0.hotmail.com) (65.55.111.76) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Aug 2011 13:38:58 +0000 Received: from BLU0-SMTP407 ([65.55.111.73]) by blu0-omc2-s1.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 19 Aug 2011 06:38:38 -0700 X-Originating-IP: [81.104.63.105] X-Originating-Email: [bowditch_chris@hotmail.com] Message-ID: Received: from [192.168.3.62] ([81.104.63.105]) by BLU0-SMTP407.phx.gbl over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Fri, 19 Aug 2011 06:38:37 -0700 Date: Fri, 19 Aug 2011 14:38:35 +0100 From: Chris Bowditch User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.20) Gecko/20110804 Thunderbird/3.1.12 MIME-Version: 1.0 To: fop-users@xmlgraphics.apache.org Subject: Re: Preserving White Spaces in FOP 1.0 References: In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Aug 2011 13:38:37.0603 (UTC) FILETIME=[4C96AF30:01CC5E75] On 18/08/2011 18:32, Rita Greenberg wrote: > Hello. Hi Rita, > In FOP version 0.20.5 the following code preserved white spaces in text. > I'm in the process of converting to FOP version 1.0 and the same piece of code > does not preserve the white spaces. > > > > > > > > white-space-collapse will stop multiple spaces being merged into one. You also need white-space-treatment="preserve" to stop whitespace at the start and end of lines being suppressed. > Is there anything that I can do to preserve the white spaces? > > Thank you, > Rita Thanks, Chris > > --------------------------------------------------------------------- > To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org