OK, maybe I'm after the wrong thing - I guess it's line-breaking I want.
We have big long strings of text entered by Thai speakers with no spaces
and I need a line break in an appropriate place so that it wraps to the
next line. I thought that was handled by hyphenation but apparently not.
 
So although it's not supported at present, it may be at some point in
the future? I've just nipped off and had a look at UAX#14. It says in
part: 

"The third style is used for scripts such as Thai, which do not use
spaces, but which restrict word breaks to syllable boundaries, the
determination of which requires knowledge of the language comparable to
that required by a hyphenation algorithm. Such an algorithm is beyond
the scope of the Unicode Standard."

I haven't read the whole thing, but that seems to indicate that Thai is
all too hard. My interim solution is to use lang="zh" to get it to at
least wrap the text rather than having it go off the page. I've yet to
find out whether that's acceptable or not in Thailand. 

It might be a ca
se of best we ca
n do.

-----Original Message-----
From: J.Pietschmann [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 20 August 2008 7:55 AM
To: [email protected]
Subject: Re: Thai Hyphenation Pattern

Darren Munt wrote:
> Can anyone tell me if there is a Thai hyphenation pattern available,
> either for the very old version of FOP v0.20.3, or the latest release
> which I am hoping to upgrade to soon?

There is no Thai hyphenation pattern file available,
and because typesetting Thai is difficult in general,
it is unlikely there will be one soon. Unless there
is someone with enough of an itch and either well enough
knowledge of Thai and/or skill to port the Pango code.

Note that FOP can't do proper line breaking for Thai yet
even though it implements UAX#14.

J.Pietschmann

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to