[xep-support] Re: Thai line breaking

From: G. Ken Holman <gkholman@CraneSoftwrights.com>
Date: Fri May 06 2011 - 06:14:34 PDT

At 2011-05-06 08:47 -0400, John Wilcock wrote:
>I am having an issue with Thai line breaking. If a Thai sentence
>(that contains no whitespace) extends past the page width, the
>characters are compressed rather than a line break inserted at an
>appropriate word boundary. Should this work correctly, and if so,
>please can you point me in the direction of what I might be doing incorrectly?
>
>Currently, I am solving this (with the aid of a translation
>resource) by manually inserting whitespace at acceptable word
>boundaries, but this is really not an ideal solution.

Have you tried using the zero-width-space character in your
translation solution instead of a simple space? The end visual
result appears not to have spaces, yet you will get line breaks
between words because the zero-width-space character is a word-break character.

   &#x200b;

I hope this helps.

. . . . . . . . . Ken

--
Contact us for world-wide XML consulting & instructor-led training
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/f/
G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal
!DSPAM:87,4dc3f44263731271111301!
_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Fri May 6 06:14:48 2011

This archive was generated by hypermail 2.1.8 : Fri May 06 2011 - 06:14:49 PDT