Re: [xep-support] Scrunched Text

From: Alejandro Masino <alejandro.masino@gmail.com>
Date: Sat Nov 10 2007 - 16:12:28 PST

Using:

hyphenate="true" hyphenation-character=""

should make the trick, but only if the string you want to see wrapped
contains letters... the string is split considering words but not
numbers (unless there is some language or script setting for hyphenation
that takes numbers into account as well, but I don't know).

HTH,
Alejandro

Nat Dunn wrote:
> 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
>
>

-------------------
(*) 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 16:53:37 2007

This archive was generated by hypermail 2.1.8 : Sat Nov 10 2007 - 16:53:38 PST