https://bugs.winehq.org/show_bug.cgi?id=51321
Bug ID: 51321 Summary: Some Chinese characters aren't rendered correctly in Foxmail. Product: Wine Version: 6.11 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: jactry92@gmail.com Distribution: ---
Created attachment 70181 --> https://bugs.winehq.org/attachment.cgi?id=70181 Chinese characters were rendered correctly.
Steps to reproduce: 1. `winetricks -q arial` to work around a crash of CEF. 2. `wine FoxmailSetup_7.2.21.453.exe` for installing Foxmail. 3. `export LANG=zh_CN.UTF-8 LANGUAGE=zh_CN.UTF-8 LC_ALL=zh_CN.UTF-8` to switch to a Simplified Chinese locale. 4. `cd ~/.wine/drive_c/Foxmail\ 7.2/` and `wine Foxmail.exe`, then select the first(腾讯邮箱) or the second(mail.qq.com) icon in the dialog.
Expected: All characters are rendered correctly.
Actually: Chinese characters are rendered as some boxes.
Wine version: wine-6.11-58-gfd7954974b9
https://bugs.winehq.org/show_bug.cgi?id=51321
--- Comment #1 from Jactry Zeng jactry92@gmail.com --- Created attachment 70182 --> https://bugs.winehq.org/attachment.cgi?id=70182 +dwrite log.
Is this a dwrite related issue?
https://bugs.winehq.org/show_bug.cgi?id=51321
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://web.archive.org/web | |/20210623025138/https://dld | |ir1.qq.com/foxmail/windows/ | |FoxmailSetup_7.2.21.453.exe Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=51321
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #70181|Chinese characters were |Chinese characters weren't description|rendered correctly. |rendered correctly.
https://bugs.winehq.org/show_bug.cgi?id=51321
--- Comment #2 from Rafał Mużyło galtgendo@o2.pl --- Might be looking in a wrong direction, but do you have 'Replacements' keys set up for the default Chinese font ?
https://bugs.winehq.org/show_bug.cgi?id=51321
--- Comment #3 from Jactry Zeng jactry92@gmail.com --- (In reply to Rafał Mużyło from comment #2)
Might be looking in a wrong direction, but do you have 'Replacements' keys set up for the default Chinese font ?
Neither adding replacements nor copying SimSun from Windows to wineprefix does help.
https://bugs.winehq.org/show_bug.cgi?id=51321
--- Comment #4 from Jactry Zeng jactry92@gmail.com --- I found that copying a simsun.ttc to the wine prefix's fonts folder and adding a registry for it in "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts" can make it happy.