Summary: | Thai3.2: Thai word wrap does not work correctly in Label text | ||
---|---|---|---|
Product: | [Tools] GEF | Reporter: | Suwit Srivilairith <suwits> |
Component: | GEF-Legacy GEF (MVC) | Assignee: | gef-inbox <gef-inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | camle, kitlo, steven.wasleski, steveshaw |
Version: | 3.2 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: | |||
Attachments: |
Description
Suwit Srivilairith
2006-03-27 05:16:25 EST
Created attachment 36977 [details]
Sample Model file contains Thai label
Created attachment 36978 [details]
Screen capture indicates the word break problem
Created attachment 36979 [details]
Thai word break works correctly in edit mode.
Please provide string in unicode. Created attachment 37039 [details]
Thai text file with UTF-8 encoding
Please use thai string in the attached UTF-8 text file (SampleString.txt)
Created attachment 37040 [details]
This picture shows the word break positions in the sample string.
Please use this picture to find the correct word break positions in the sample string.
Thanks, Suwit
Can you retry this with the M6 stack? GEF M6 migrated to the ICU4J plug-ins in M6 and specifically their BreakIterator implementation which is supposed to be more "intelligent" then the default Java implementation. BreakIterator is what determines where to make the appropriate word-wrap break point. I've tried Eclipse 3.2 M6 I20060331-2000 and GEF 3.2 M6 I20060405 Unfortunately the problem still persist. It seems that text display in label may not use BreakIterator class to determine the break position. In the other hand, Thai word break works correctly in edit mode (Right click on label and select Rename from popup menu) If you need more information, please let me know. Thanks, Suwit |