http://bugs.winehq.org/show_bug.cgi?id=29851
Bug #: 29851 Summary: Some part of PDFCreator installer cannot display Chinese correctly even Font Replacement is setting correctly Product: Wine Version: 1.4-rc2 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: fracting@gmail.com Classification: Unclassified
Created attachment 38774 --> http://bugs.winehq.org/attachment.cgi?id=38774 Screenshot: some part of PDFCreator installer does not display Chinese
0. make sure "WenQuanYi Micro Hei" is installed. wqy-microhei.ttc
1. setting Chinese font replacements. ;; wine.inf HKCU, Software\Wine\Fonts\Replacements,"SimSun",,"WenQuanYi Micro Hei"
2. Download PDFCreator from http://sourceforge.net/projects/pdfcreator/ ( http://sourceforge.net/projects/pdfcreator/files/PDFCreator/PDFCreator%201.2... )
3. open the installer with wine: $ wine PDFCreator-1_2_1_setup.exe
4. - select Simplified Chinese (中文简体) - click OK (确定) - click next (下一步) - select "I agree" (我接受协议) - click next (下一步)
All the window before display Chinese correctly, only this one (安装向导 - pdfcreator) doesn't display Chinese as expect. Please see screenshot for details.
http://bugs.winehq.org/show_bug.cgi?id=29851
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source URL| |http://sourceforge.net/proj | |ects/pdfcreator/files/PDFCr | |eator/PDFCreator%201.2.1/PD | |FCreator-1_2_1_setup.exe/do | |wnload
http://bugs.winehq.org/show_bug.cgi?id=29851
--- Comment #1 from Qian Hong fracting@gmail.com 2012-02-09 16:08:18 CST --- Created attachment 38775 --> http://bugs.winehq.org/attachment.cgi?id=38775 Registry file work around for PDFCreator
This reg file work around for the bug
http://bugs.winehq.org/show_bug.cgi?id=29851
--- Comment #2 from Qian Hong fracting@gmail.com 2012-02-09 16:19:49 CST --- The +font trace is two large, more than 4MB even gzipped. Will attach first 5000 line and last 5000 line (which contain the problematic window)
http://bugs.winehq.org/show_bug.cgi?id=29851
--- Comment #3 from Qian Hong fracting@gmail.com 2012-02-09 16:24:06 CST --- Created attachment 38776 --> http://bugs.winehq.org/attachment.cgi?id=38776 Log: +font trace, fist 5000 lines
http://bugs.winehq.org/show_bug.cgi?id=29851
--- Comment #4 from Qian Hong fracting@gmail.com 2012-02-09 16:24:43 CST --- Created attachment 38777 --> http://bugs.winehq.org/attachment.cgi?id=38777 Log: +font trace, last 5000 lines
http://bugs.winehq.org/show_bug.cgi?id=29851
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aric@codeweavers.com
--- Comment #5 from Qian Hong fracting@gmail.com 2012-02-09 16:25:50 CST --- CC Aric, thanks!
http://bugs.winehq.org/show_bug.cgi?id=29851
--- Comment #6 from Aric Stewart aric@codeweavers.com 2012-02-13 08:44:41 CST --- This appears to be working for me with my most recent patch. Please try again after my systemlink patch is committed.
http://bugs.winehq.org/show_bug.cgi?id=29851
--- Comment #7 from Qian Hong fracting@gmail.com 2012-02-13 08:49:46 CST --- (In reply to comment #6)
This appears to be working for me with my most recent patch. Please try again after my systemlink patch is committed.
Yeah, this bug is still present in wine-1.4-rc3, but the last (uncommitted) patch magically fix it. Thanks Aric!
http://bugs.winehq.org/show_bug.cgi?id=29851
--- Comment #8 from Qian Hong fracting@gmail.com 2012-02-14 10:47:49 CST --- (In reply to comment #7)
(In reply to comment #6)
This appears to be working for me with my most recent patch. Please try again after my systemlink patch is committed.
Yeah, this bug is still present in wine-1.4-rc3, but the last (uncommitted) patch magically fix it. Thanks Aric!
Hello, updates:
Unfortunately, this bug appear for me again:
If I remember correctly, I've do below things today:
1. in order to test wine font for Traditional Chinese, I installed the Traditional Chinese Language Support via Ubuntu Language Support GUI 2. edited /usr/local/share/wine/wine.inf, added WenQuanYi Micro Hei as a replacement for PMingLiU 3. tested wine notepad with LANG=zh_TW.utf8 4. stashed the font-rebuild patch, then applied the font-rebuild-try2 patch 5. retested this bug
The first time I recognized this bug coming back is when I doing the step 5.
After that I tried to remove Traditional Chinese support, tried to stash the font-rebuild-try2 patch and applied the font-rebuild patch again, tried to remove PMingLiU replacement, but I can't get this bug away anymore...
If I have time I'll test on a clean install Ubuntu.
Is there any tips to figure out what's wrong in this case?
http://bugs.winehq.org/show_bug.cgi?id=29851
--- Comment #9 from Qian Hong fracting@gmail.com 2012-02-19 09:29:45 CST --- Hello, retested with a fresh installed Ubuntu 11.10, Language is set to Simplified Chinese, the problem still present here.
Will attach two log fils: font-trace-without-fontlink-overrided-last-window.log font-trace-with-fontlink-overrided-last-window.log
For the first log, test steps are exactly the same with Comment 0; For the second log, a registry file is imported to override systemlink.
http://bugs.winehq.org/show_bug.cgi?id=29851
--- Comment #10 from Qian Hong fracting@gmail.com 2012-02-19 09:51:31 CST --- Created attachment 38970 --> http://bugs.winehq.org/attachment.cgi?id=38970 Log: +font trace, without fontlink overrided, last window
http://bugs.winehq.org/show_bug.cgi?id=29851
--- Comment #11 from Qian Hong fracting@gmail.com 2012-02-19 09:53:48 CST --- Created attachment 38971 --> http://bugs.winehq.org/attachment.cgi?id=38971 Log: +font trace, with fontlink overrided, last window
http://bugs.winehq.org/show_bug.cgi?id=29851
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #38775|0 |1 is obsolete| | Attachment #38776|0 |1 is obsolete| | Attachment #38777|0 |1 is obsolete| |
--- Comment #12 from Qian Hong fracting@gmail.com 2012-02-19 09:54:42 CST --- Created attachment 38972 --> http://bugs.winehq.org/attachment.cgi?id=38972 Registry file work around for PDFCreator
http://bugs.winehq.org/show_bug.cgi?id=29851
--- Comment #13 from Qian Hong fracting@gmail.com 2012-02-19 09:59:24 CST --- Created attachment 38973 --> http://bugs.winehq.org/attachment.cgi?id=38973 Log: +font trace, creating wineprefix, fresh installed Ubuntu 11.10
http://bugs.winehq.org/show_bug.cgi?id=29851
--- Comment #14 from Qian Hong fracting@gmail.com 2012-02-19 10:04:15 CST --- Here is one of Chinese sentence which display incorrectly:
"请不要以程序模式在终端服务器上安装本版本。" -> L"\8bf7\4e0d\8981\4ee5\7a0b\5e8f\6a21\5f0f\5728\7ec8\7aef\670d\52a1\5668\4e0a\5b89\88c5\672c\7248\672c\3002"
http://bugs.winehq.org/show_bug.cgi?id=29851
--- Comment #15 from Qian Hong fracting@gmail.com 2012-02-19 10:20:39 CST --- (In reply to comment #14)
Here is one of Chinese sentence which display incorrectly:
"请不要以程序模式在终端服务器上安装本版本。" ->
Right: L"\8bf7\4e0d\8981\4ee5\7a0b\5e8f\6a21\5f0f\5728\7ec8\7aef\670d\52a1\5668\4e0a\5b89\88c5\672c\7248\672c\3002"
Wrong: L"\00c7\00eb\00b2\00bb\00d2\00aa\00d2\00d4\00b3\00cc\00d0\00f2\00c4\00a3\00ca\00bd\00d4\00da\00d6\00d5\00b6\00cb\00b7\00fe\00ce\00f1\00c6\00f7\00c9\00cf\00b0\00b2\00d7\00b0\00b1\00be\00b0\00e6\00b1\00be\00a1\00a3"
http://bugs.winehq.org/show_bug.cgi?id=29851
--- Comment #16 from Aric Stewart aric@codeweavers.com 2012-02-20 12:56:55 CST --- Strangely I no longer see this at all on my mac.
It is working without issue for me.
http://bugs.winehq.org/show_bug.cgi?id=29851
--- Comment #17 from Qian Hong fracting@gmail.com 2012-02-28 10:20:17 CST --- (In reply to comment #16)
Strangely I no longer see this at all on my mac.
It is working without issue for me.
Hi Aric,
Do you have /usr/share/wine/fonts/sserife.fon in your wine installation?
In the first I found this bug could not be reproduced with the wine rpm from fedora 16, but it can be reproduced if I build wine from source on F16.
After some investigation I found there is no /usr/share/wine/fonts directory in the fedora wine package.
If I copy /usr/share/fonts/wine-ms-sans-serif-fonts/sserife.fon to /usr/share/wine/fonts , then I can reproduce this bug even with fedora wine package.
If I remove /usr/share/fonts/sserife.fon ( or /usr/local/share/fonts/sserife.fon ), then this bug goes away.
Do we have enough information to fix this bug now?
Thanks.
http://bugs.winehq.org/show_bug.cgi?id=29851
--- Comment #18 from Qian Hong fracting@gmail.com 2012-03-04 10:59:28 CST --- (In reply to comment #16)
Strangely I no longer see this at all on my mac.
It is working without issue for me.
Similar situations happen in Wine QQ2012, some parts of UI display Chinese correctly but some parts of it display Chinese as empty boxes, after delete /usr/share/local/fonts/tahoma.ttf, all parts of UI display Chinese correctly.
Also Bug 29853 seems to related to this one.
Aric, could you reproduce this bug on any Linux distribution? If you can't reproduce could you tell me your environment and let me have a try?
https://bugs.winehq.org/show_bug.cgi?id=29851
--- Comment #19 from Ken Sharp imwellcushtymelike@gmail.com --- Is this still an issue in Wine 1.7.45 or later?