Georg, 

great question, I only thought from my very limited experiences. Let me
suggest a logical hierarchy for survival:

A typographical space is always included with intention, so I would delete
the normal space at first. 

A zero-width space is not really a whitespace, I would not include this into
the collaps-rule. 

Non-breaking spaces have a reason to be, they should not be deleted. If two
non-breaking spaces of the same or different width accidently follow each
other (I can hardly imagine a situation when this happens, but things
sometimes do happen), I would suggest to give the only one, and always the
smallest one the highest chance for survival.

So in your example the non-breaking-space would survive. 

- Did I forget any case (it is late here in Japan)?
- Do you think it is basically OK to think of such an option in the stage of
rendering the page with FOP from the FO-document?

Cheers, 
Maria


Georg Datterl wrote:
> 
> Hi Maria, 
> 
> If there's a sequence of <normal
> space><non-breaking-space><zero-width-space>, which one would survive? 
> 
> Regards,
>  
> Georg Datterl
>  
> ------ Kontakt ------
>  
> Georg Datterl
>  
> Geneon media solutions gmbh
> Gutenstetter Straße 8a
> 90449 Nürnberg
>  
> ...
> 

-- 
View this message in context: 
http://www.nabble.com/Normalizing-space-and-special-spaces-tp22678087p22680599.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to