[xep-support] Scrunched Text

From: Nat Dunn <ndunn@webucator.com>
Date: Sat Nov 10 2007 - 12:38:12 PST

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@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 Sat Nov 10 13:17:45 2007

This archive was generated by hypermail 2.1.8 : Sat Nov 10 2007 - 13:17:50 PST