[xep-support] Scrunched Text

Nat Dunn ndunn at webucator.com
Sat Nov 10 12:38:12 PST 2007


Hello,

Is there a way to set white-space and wrapping attributes so that
white-space is not ignored, but long lines with no spaces in them don't get
scrunched?


<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
	<fo:layout-master-set>
		<fo:simple-page-master master-name="page">
			<fo:region-body margin="1in"/>
		</fo:simple-page-master>
	</fo:layout-master-set>
	<fo:page-sequence master-reference="page">
		<fo:flow flow-name="xsl-region-body">
			<fo:block linefeed-treatment="preserve"
						white-space-collapse="false"
						wrap-option="wrap"
	
white-space-treatment="preserve"
						hyphenate="true"
	
hyphenation-character="&gt;&gt;">
The line below gets all scrunched up.  How can I make it wrap without
artificially inserting spaces?
0123456789012345678901234567890123456789012345678901234567890123456789012345
67890123456789012345678901234567890123456789

I tried using the hyphenation attributes, but they don't do the trick.

When there are spaces it wraps fine:
0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789
0123456789 0123456789 0123456789 0123456789 0123456789
			</fo:block>
		</fo:flow>
	</fo:page-sequence>
</fo:root>

Thanks,

Nat

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at 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



More information about the Xep-support mailing list