[xep-support] Hyphenation with an initial-property-set

Greg Ludington gludington at gmail.com
Tue Feb 8 22:19:29 PST 2005


I am not certain if this is a problem with my fo itself, but I am
unable to see the hyphenation character when the line breaks between
the first line and the second line, and the block has an
initial-property-set.  Here is an admittedly silly example that
illustrates the problem I am having:

        <fo:block font-family="Newton" font-style="normal"
font-size="5.5pt" color="black" text-align="justify" hyphenate="true"
hyphenation-push-character-count="2"
hyphenation-remain-character-count="2" line-height="5.3pt"
start-indent="0.5cm" text-indent="-4pt" end-indent="0.5cm">
		<fo:initial-property-set font-weight="bold" color="red/>
		THIS IS A REALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYLONG
WORD AREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYLONG
WORDAREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYLONG
WORDAREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYLONG
WORDAREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYREALLYLONG
WORD
</fo:block>

The word breaks correctly from line to line, but the hyphen itself
does not appear (even if I specify a hyphenation-character) on the
line break between lines 1 and 2.  If I remove the intial-property-set
from the block, the hyphen will appear.  Is there a fault in my above
fo that prevents the hyphen from ocurring, or is this a problem in the
current implementation,   (Using Version 4.1 build 20050114 at the
moment), or something else entirely?  Is there a way to force that
hyphen to appear, even between an intial line and the second line,
when a block has an initial-property-set?

Thanks,
Greg Ludington
-------------------
(*) 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/tos.html



More information about the Xep-support mailing list