Community
Participate
Working Groups
Build Identifier: I20100608-0911 The StyledText widget is unable to render 2 of GB18030 G1 characters as described in https://labweb.torolab.ibm.com/gcoc/documents/gvtguide/testareas/DIH-UUN-010.htm unless we explicitly set the font to SimSun-18030. However it works on Text widget. Reproducible: Always Steps to Reproduce: 1. Enable GB18030 support as http://msdn.microsoft.com/en-us/library/aa578128.aspx 2. Besides add SimSum18030 font linking to Tahoma and Arial, also add Courier & Courier New to link to SimSum18030 3. Run the sample program attached and you can find those 2 characters (\u1820\u0F00) are rendered as square but it render successfully on the Text widget.
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.