[xep-support] Non-breaking spaces in transform

From: someotherlist <someotherlist@gmail.com>
Date: Fri Jan 09 2009 - 10:21:55 PST

Hello,

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

I've tried specifying &#160; 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.

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Fri Jan 9 10:36:22 2009

This archive was generated by hypermail 2.1.8 : Fri Jan 09 2009 - 10:36:24 PST