http://bugs.winehq.org/show_bug.cgi?id=30263
Bug #: 30263 Summary: builtin iexplore does not display Chinese Product: Wine Version: 1.5.0 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: fracting@gmail.com Classification: Unclassified
LANG=zh_CN.utf8
Chinese display ok in wine notepad.
We can use wine bugzilla for testing:
"Testing Chinese display: 测试中文显示"
In wine builtin iexplore the English letters display OK correctly but the Chinese display as raw unicode hex number, for example,
"测" in unicode is 6D4B, in Wine builtin iexplore it display as:
+--+ |6D| |4B| +--+
I'm not very sure if it is a regression, will retest with earlier version later.
http://bugs.winehq.org/show_bug.cgi?id=30263
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.winehq.org/show | |_bug.cgi?id=27285
http://bugs.winehq.org/show_bug.cgi?id=30263
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=30263
--- Comment #1 from Qian Hong fracting@gmail.com 2012-03-25 10:34:05 CDT --- Updates:
4a463e06505af991f23b9c2ce47efedaf9738928 is the first bad commit commit 4a463e06505af991f23b9c2ce47efedaf9738928 Author: Grazvydas Ignotas notasas@gmail.com Date: Tue Aug 23 23:11:57 2011 +0300
gdi32: Use correct name for elfFullName.
:040000 040000 7028e9cd08df473750b7364acc807e477227fdd5 b0d5fb94219feaa5ab3852010f2596fb425de044 M dlls
http://bugs.winehq.org/show_bug.cgi?id=30263
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Regression SHA1| |4a463e06505af991f23b9c2ce47 | |efedaf9738928
http://bugs.winehq.org/show_bug.cgi?id=30263
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |notasas@gmail.com
--- Comment #2 from Qian Hong fracting@gmail.com 2012-03-25 10:39:31 CDT --- CC Grazvydas.
As a newer to wine development, I'm trying to fixed this bug by myself. If I have no luck I'll report back...
Thanks Grazvydas for your work, I'm open to any suggestions :)
http://bugs.winehq.org/show_bug.cgi?id=30263
--- Comment #3 from Grazvydas Ignotas notasas@gmail.com 2012-03-26 05:54:46 CDT --- What font iexplore is trying to use?
Could it be that with my patch it tries to use the specified font, but that font doesn't have Chinese characters, and if you revert the patch, wine uses some default font instead that does have them?
http://bugs.winehq.org/show_bug.cgi?id=30263
--- Comment #4 from Qian Hong fracting@gmail.com 2012-04-03 18:01:38 CDT --- (In reply to comment #3)
What font iexplore is trying to use?
Could it be that with my patch it tries to use the specified font, but that font doesn't have Chinese characters, and if you revert the patch, wine uses some default font instead that does have them?
Hi Grazvydas, thanks for reply and sorry for delay.
The facename of the font which iexplore trying to use is "SimSun Regular", if I revert the patch, then "SimSun" is used instead of "SimSun Regular".
One workaround I found is to remove /usr/local/share/wine/fonts/{tahoma.ttf,tahomabd.ttf}
Another workaround is to create a replacement from "WenQuanYi Micro Hei" to "SimSun Regular".
When the Chinese characters failed to display I found ExtTextOutW is not called at all.
I still need some more investigating, but I have strong interesting in the Wine font code, thanks very much for your advice! I'll update once I have new result.
http://bugs.winehq.org/show_bug.cgi?id=30263
--- Comment #5 from Qian Hong fracting@gmail.com 2012-04-09 13:52:28 CDT --- Hello, retested with wine-1.5.1-219-g4b3e4fa, still present.
The interesting thing I found is, if I install ttf-ukai or ttf-uming, then this bug could not be reproduced.
Will continue investigating :)
Regards.
http://bugs.winehq.org/show_bug.cgi?id=30263
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |245308597ffbe1243169211ced5 | |e6ffbcc55c1d5 Status|UNCONFIRMED |RESOLVED Component|-unknown |gdi32 Resolution| |FIXED
--- Comment #6 from Qian Hong fracting@gmail.com 2012-09-07 14:15:30 CDT --- Hello,
Sorry for long delay.
Finally this bug is fixed by the following patches:
commit 245308597ffbe1243169211ced5e6ffbcc55c1d5 commit 733aca30f4976a858d4e7a36628922f1eb898197 commit abc8f2c6c270a8f6bce8c5c1f0fc5b5773dad4a9 commit 180185d890b6df54ab38f539fd4eedef35624029
Regards ;-)
http://bugs.winehq.org/show_bug.cgi?id=30263
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1|4a463e06505af991f23b9c2ce47 | |efedaf9738928 |
--- Comment #7 from Qian Hong fracting@gmail.com 2012-09-07 14:17:57 CDT --- @Grazvydas , I think technically this bug is not a real regression, just something Wine doesn't implement complete before, so I removed the Regression SHA1.
Sorry for the trouble, also thanks for your work!
Regards :P
http://bugs.winehq.org/show_bug.cgi?id=30263
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|regression |
http://bugs.winehq.org/show_bug.cgi?id=30263
--- Comment #8 from Grazvydas Ignotas notasas@gmail.com 2012-09-08 19:12:33 CDT --- Glad you figured it out and fixed it. I've tested Portal2 (for which I wrote my original patch) and it is still working fine with your patches.
http://bugs.winehq.org/show_bug.cgi?id=30263
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org 2012-09-14 13:36:52 CDT --- Closing bugs fixed in 1.5.13.