xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Georg Datterl" <georg.datt...@geneon.de>
Subject AW: Normalizing space and special spaces
Date Tue, 24 Mar 2009 11:27:15 GMT
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
 
HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert 

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20
 
www.geneon.de
 
Weitere Mitglieder der Willmy MediaGroup:
 
IRS Integrated Realization Services GmbH:    www.irs-nbg.de 
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult & Content GmbH:                 www.willmycc.de 
-----Ursprüngliche Nachricht-----
Von: Maria2009 [mailto:maria@shinoto.de] 
Gesendet: Dienstag, 24. März 2009 12:03
An: fop-users@xmlgraphics.apache.org
Betreff: Normalizing space and special spaces


Hello, 

I am not sure whether this is the best place to present my question or suggestion, so please
feel free to tell me if it is not: 

In my xml-documents (unstructured text) I have nested elements which result in nice PDFs,
where the text flow is always correctly separated by single spaces thanks to whitespace normalization.


Now, for some of these nested elements I have to create special whitespace (like non-breaking
small spaces), so I do not need the whitespace from the normalization. In other words: Instead
of "text_text-from-element_text"
(with _ for normal spaces between the elements), I want "text*text-from-element_text" (with
* for non breaking whitespaces) but get "text_*text-from-element_text". 

In the beginning I thought of "cleaning up" the FO-document after a first transformation from
XML to FO, but on the other hand I think that it is anyway unlogical to normalize whitepace
but exclude the typographical whitespaces (or spaces) when creating a document for print.


So I suggest to integrate a feature in the FOP to clean up double spaces that come into being
because for typography one needs to work with several space characters. 

May be the FO to PDF stage is not the right place?

Best and thanks like always,
Maria
--
View this message in context: http://www.nabble.com/Normalizing-space-and-special-spaces-tp22678087p22678087.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


Mime
View raw message