[xep-support] Strange behavior with zero-width space

From: W. Eliot Kimber <ekimber@innodata-isogen.com>
Date: Tue Oct 26 2004 - 13:14:00 PDT

I am generating FO output of this form:

<fo:block>Some stuff
<fo:inline keep-together.within-line="always">keep me
keep-together.within-line="always">keep me
together</fo:inline>&#x200b; more stuff.

The intent is to allow the line to break between two adjacent inlines
that are, individually, kept together on the line.

With 3.8.4, what I'm getting is that the *does not* break at the
zero-width space *and* if the line does not naturally break following
the second phrase, that the whitespace following the zero-width space is
not rendered. That is, I get this output:

   Some stuff keep me togetherkeep me together
   more stuff

Instead of:

   Some stuff keep me together
   keep me together more stuff

And if I have just one lineline followed by a zero-width space I get
this output:

   Some stuff keep me togethermore stuff

Instead of:

   Some stuff keep me together more stuff

I think this is a bug in XEP--it is certainly counter to what I would
expect and counter to what XSL Formatter does.

Is this a bug? If not, why not? In either case, is there a workaround?



W. Eliot Kimber
Professional Services
Innodata Isogen
9390 Research Blvd, #410
Austin, TX 78759
(512) 372-8122
(*) 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/tos.html
Received on Tue Oct 26 13:56:32 2004

This archive was generated by hypermail 2.1.8 : Tue Oct 26 2004 - 13:56:33 PDT