Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 130859

Summary: DBCS3.2: no word breaking for Label string
Product: [Tools] GEF Reporter: Masayuki Fuse <fuse>
Component: GEF-Legacy GEF (MVC)Assignee: gef-inbox <gef-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: minor    
Priority: P3 CC: camle, kitlo, steven.wasleski, steveshaw
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
screenshot
none
UTF-8 encoded Japanese text in the screenshot
none
Text vs Draw2d none

Description Masayuki Fuse CLA 2006-03-08 01:29:06 EST
Description:English seems to work word break, but Japanese string doesn't.
 Build date: 3.2 M5
 OS:        Steps to recreate problem:
        1- run Test case 2: Label(Cell-editor)
        2- enter Japanese string
        
        
                 
 Expected output:
word wrap doesn't function properly. Please see screenshot. Character marked in red circle must not be at the first.
Comment 1 Masayuki Fuse CLA 2006-03-08 01:30:11 EST
Created attachment 35889 [details]
screenshot
Comment 2 Randy Hudson CLA 2006-03-08 01:44:30 EST
What does DBCS3.2 mean?
How can we enter the string shown in the screenshot?
Does that test string wrap correctly with StyledText? Text?
Comment 3 Masayuki Fuse CLA 2006-03-08 02:17:27 EST
DBCS3.2 is a mark for bugs discovered in enablement test that has been running on supported locale.

As far as I played on SWT snippet197 and 213. word wrap works.
Comment 4 Masayuki Fuse CLA 2006-03-08 02:22:38 EST
Created attachment 35892 [details]
UTF-8 encoded Japanese text in the screenshot 

the first line is the string and second is its Unicode escaped string.
Comment 5 Randy Hudson CLA 2006-03-08 13:25:59 EST
Created attachment 35920 [details]
Text vs Draw2d

Windows is wrapping at the same place as we are.
StyledText wraps correctly.
Comment 6 Anthony Hunter CLA 2007-03-20 15:51:33 EDT
(In reply to comment #5)
> Windows is wrapping at the same place as we are.
> StyledText wraps correctly.