Thai language engine improvements
Submitted by Behdad Esfahbod
Link to original bug (#382437)
Description
testboundaries fails because of the way the thai-lang module works. Namely, it adds line breaks where a line break is prohibited. The fix is indeed to just call into libthai for thai text. Thep believes that the other bits add some kind of context for libthai, but apparently the current code is broken.
Going to fall back to my own idea of breaking the text into pieces of thai and non-thai chars and just call into libthai for the thai ones.