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 Glen Mazza <gm...@apache.org> on 2006/04/06 08:13:42 UTC

[Fwd: [docbook-apps] FOP 0.91 : "trying to remove a non-trailing word space"]

Hello FOP Team,

This is from the Docbook-Apps list.  I think there is a stray debugging 
comment in the 0.91 version that can probably be removed--it seems 
unrelated to anything "wrong" that the user might be doing, but rather 
just a debugging note added in during algorithm development.  See below.

Thanks,
Glen

-------- Original message --------
Subject: [docbook-apps] FOP 0.91 : "trying to remove a non-trailing word 
space"
Date: Wed, 05 Apr 2006 13:24:21 +0900
From: Michael(tm) Smith <sm...@sideshowbarker.net>
To: docbook-apps@lists.oasis-open.org

Has anyone else observed the following message when generating
PDFs from FOP 0.91? -

   trying to remove a non-trailing word space

Any idea what kind of problem (if any) it indicates? Any clues on
how to avoid it and/or how to suppress the message? It seems to
just be a notification. But it appears even when FOP is run with
the "-q" (quiet) option.

   --Mike

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


Re: FOP 0.20.5: preserving preformatted text

Posted by Diego F Guillen <ad...@tpg.com.au>.
Hi Chris,
Yes, it works now.
Thank you very much,
    Diego


Chris Bowditch wrote:

> Diego F Guillen wrote:
>
>> I have been trying to display pre-formatted text in FO, unsuccessfully.
>>
>> I tried:
>> <fo:block
>>    linefeed-treatment="preserve"
>>    white-space-treatment="preserve">
>>
>>   [preformatted text goes here]
>>
>> </fo:block>
>>
>> How do you do it?
>
>
> I think you also need white-space-collapse="false" on the fo:block
>
> 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


Re: FOP 0.20.5: preserving preformatted text

Posted by Chris Bowditch <bo...@hotmail.com>.
Diego F Guillen wrote:

> I have been trying to display pre-formatted text in FO, unsuccessfully.
> 
> I tried:
> <fo:block
>    linefeed-treatment="preserve"
>    white-space-treatment="preserve">
> 
>   [preformatted text goes here]
> 
> </fo:block>
> 
> How do you do it?

I think you also need white-space-collapse="false" on the fo:block

Chris



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


FOP 0.20.5: preserving preformatted text

Posted by Diego F Guillen <ad...@tpg.com.au>.
I have been trying to display pre-formatted text in FO, unsuccessfully.

I tried:
<fo:block
    linefeed-treatment="preserve"
    white-space-treatment="preserve">

   [preformatted text goes here]

</fo:block>

How do you do it?
Thanks,
    Diego

>

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