| Summary: | Unable to render GB18030 G1 characters (\u1820\u0F00) on StyledText widget | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Gary Tu <garytu> | ||||||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | eclipse.felipe, sdwangl | ||||||||
| Version: | 3.6 | ||||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows XP | ||||||||||
| Whiteboard: | stalebug | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Gary Tu
Created attachment 189075 [details]
Sample Code
Created attachment 189076 [details]
Screenshot
On my machines Windows 7 - all chars are renderer on both widgets Xp - Text has 5 missing glyphs, StyledText has 1 Xp using simsun-18030 font - all chars are rendere on both widgets. Hi Felipe, I tried this on WinXP platform following the steps below: Install GB18030 support package 1. Open Control Panel -> Regional and Language Options, on Languages tab, check Install files for East Asian languages. 2. Install the GB18030 support package http://go.microsoft.com/fwlink/?LinkID=26235. Enable GB18030 font linking 1. Open the windows register 2. Navigate to [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink]. 3. Double-click Tahoma. 4. Add "SimSun18030.ttc,SimSun-18030", in a new line, in the edit box. 5. Double-click Arial. 6. Add "SimSun18030.ttc,SimSun-18030", in a new line, in the edit box. 7. Restart the computer. So we didn't specify the font to use SimSum-18030 explicitly in the code, and it's easy to reproduce with the sample code above on both WinXP and Win2003 platform, please try again. Thanks a lot. My XP is really old I have already installed those packages before. Wanglei, after you followed the steps in your previous message, you got the text showing correctly in Text (all glyphs) but not in StyledText (missing glyphs) ? (In reply to comment #5) > My XP is really old I have already installed those packages before. > Wanglei, after you followed the steps in your previous message, you got the > text showing correctly in Text (all glyphs) but not in StyledText (missing > glyphs) ? Yes, it works on Text widget, but not work for StyledText. Created attachment 215164 [details]
G1 in 4.2 M6
Mongolian/Tibetan characters are displayed as square marks
Tested on WinXP platform, build 4.2 M6.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. If the bug is still relevant, please remove the "stalebug" whiteboard tag. |