[xep-support] Non-breaking spaces in transform

Savard, Jerome Jerome.Savard at axa-canada.com
Fri Jan 9 10:46:25 PST 2009


Use   (with zero) or  
 
 
-----Original Message-----
From: owner-xep-support at renderx.com
[mailto:owner-xep-support at renderx.com] On Behalf Of someotherlist
Sent: Friday, January 09, 2009 1:22 PM
To: XEP
Subject: [xep-support] Non-breaking spaces in transform


Hello, 

I'm having difficulty with specifying non-breaking spaces in my FO.

I've tried specifying   in the content, but I keep getting a
collapsed result. For the sample using the EN and EM space, the PDF
output looks the same (meaning the size of the space isn't actually
different for the EN and EM as it should be). Am I missing something
basic?

Thanks in advance,
Al


FO (using a non-breaking space) 
<fo:block space-after="4pt" space-before="8pt">Lorem ipsum dolor sit
amet, consectetuer adipiscing elit. Sed eget nibh quis lectus accumsan
varius My&#160;Product&#160;Name.</fo:block>


PDF results
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed eget nibh
quis lectus accumsan varius MyProductName.
----------
FO (using a non-breaking space) 
<fo:block space-after="4pt" space-before="8pt">Lorem ipsum dolor sit
amet, consectetuer adipiscing elit. Sed eget nibh quis lectus accumsan
varius My&#xA0;Product&#xA0;Name.</fo:block>


PDF results
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed eget nibh
quis lectus accumsan varius MyProductName.
----------
FO (using an EN space)
<fo:block space-after="4pt" space-before="8pt">Lorem ipsum dolor sit
amet, consectetuer adipiscing elit. Sed eget nibh quis lectus accumsan
varius My&#8194;Product&#8194;Name.</fo:block>


PDF results
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed eget nibh
quis lectus accumsan varius My Product Name.
----------
FO (using an EM space)
<fo:block space-after="4pt" space-before="8pt">Lorem ipsum dolor sit
amet, consectetuer adipiscing elit. Sed eget nibh quis lectus accumsan
varius My&#8195;Product&#8195;Name.</fo:block>


PDF results
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed eget nibh
quis lectus accumsan varius My Product Name.
  _____  

"Ce message est confidentiel, a l'usage exclusif du destinataire
ci-dessus et son contenu ne represente en aucun cas un engagement de la
part de AXA, sauf en cas de stipulation expresse et par ecrit de la part
de AXA. Toute publication, utilisation ou diffusion, meme partielle,
doit etre autorisee prealablement. Si vous n'etes pas destinataire de ce
message, merci d'en avertir immediatement l'expediteur."

"This e-mail message is confidential, for the exclusive use of the
addressee and its contents shall not constitute a commitment by AXA,
except as otherwise specifically provided in writing by AXA. Any
unauthorized disclosure, use or dissemination, either whole or partial,
is prohibited. If you are not the intended recipient of the message,
please notify the sender immediately."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20090109/49880dd0/attachment.html>


More information about the Xep-support mailing list