Issue 41671

Summary: Thai line-breaking non-functional
Product: Internationalization Reporter: samphan
Component: codeAssignee: stefan.baltzer
Status: CLOSED FIXED QA Contact: issues@l10n <issues>
Severity: Trivial    
Priority: P3 CC: arthit, hin.stone, issues, jjc, nusorn
Version: 680m74   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 32911, 41707    
Attachments:
Description Flags
Writer files for line-breaking test
none
Calc file for line-breaking test
none
The right Writer file for line-breaking test none

Description samphan 2005-01-31 06:21:40 UTC
In version 680, OOo is no longer able to break lines between adjacent Thai words
that do not have a separator character between them (this is the normal case in
Thai). In version 1.1, OOo was able to correctly do this. This is a very serious
regression that makes OOo not usable for Thai. This bug lead to the problem in
issue 32911. 

This can be observed in both Writer and Calc (for cells with 'wrap text
automatically'). It happens on both Windows and Linux.

Test case for Writer :-
In Writer, load the attached .odt file which contains a line with 16 copy of a
Thai word 'การ' and a space in the middle. The line is formatted as CTL=Thai.
การการการการการการการการ การการการการการการการการ
Writer breaks the line at the space character. Actually the line can be breaked
every 3 characters so the right place should be at the ninth character from the
right.

Test case for Calc:
In Calc, load the attached .ods file which has a cell with the text 'การการ การก
าร'. Calc breaks the line at the space character while the line can be breaked
at the third character from the right.

Though line breaking doesn't work, moving the cursor by words still works
correctly. You can try moving cursor using ctrl-left/right in Writer and the
cursor will move between Thai word boundaries correctly.
Comment 1 samphan 2005-01-31 06:23:08 UTC
Created attachment 22022 [details]
Writer files for line-breaking test
Comment 2 samphan 2005-01-31 06:23:50 UTC
Created attachment 22023 [details]
Calc file for line-breaking test
Comment 3 samphan 2005-01-31 06:25:29 UTC
Created attachment 22024 [details]
The right Writer file for line-breaking test
Comment 4 falko.tesch 2005-02-01 07:33:40 UTC
Reassigned to KHong
Comment 5 karl.hong 2005-02-07 19:19:10 UTC
fixed in cws i18n16.
ready for QA.
Comment 6 stefan.baltzer 2005-02-16 09:02:47 UTC
SBA: Set to Fixed.
Comment 7 stefan.baltzer 2005-02-22 12:12:01 UTC
SBA: Verified in CWS i18n16.
Comment 8 stefan.baltzer 2005-04-19 12:46:41 UTC
SBA: OK in OOo 1.9.94. Closed.