[Bug 53812] New: Text does not show in Some APPs with native wine7.19
https://bugs.winehq.org/show_bug.cgi?id=53812 Bug ID: 53812 Summary: Text does not show in Some APPs with native wine7.19 Product: Wine Version: 7.19 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: gdi32 Assignee: wine-bugs(a)winehq.org Reporter: 399989567(a)qq.com Distribution: --- Created attachment 73324 --> https://bugs.winehq.org/attachment.cgi?id=73324 how to reproduce problem I filed a bug(# Bug 53739) with the font display issue before, because I was doing some font replacements (seems to involve dwrite).This problem appears to be the same as the previous one, but it's not the same problem. This problem occurs in different sections of QQ, DingTalk, and corporate WeChat. For example, some fonts on the landing page of QQ are not displayed; some fonts are not displaye when sending a message on the meeting interface of corporate WeChat. Among them, the problem of QQ is the easiest to reproduce(even if you don't have an account, you can reproduce it), so I will use QQ to explain the problem below. 「Problem Description In general」—— use native unmodified wine In general, the font of QQ can be displayed normally on my virtual machine, but it cannot be displayed normally on my physical machine,with the same Language Environment and System installation scene
$ echo LANG = zh_CN.UTF-8 System installation scene:debian-live-11.4.0-amd64-kde.iso System installation scene download URL:https://drive.google.com/file/d/14FJVpGkLNTJrDlU9SQW38eSIFlr_qjUB/view?usp=s...
「The machine I use」 M1: "physical machine" debian-11.4.0-KDE M2: "virtual machine" debian-11.4.0-KDE 「 Problem Description 」 I just downloaded the source code of wine 7.19 and make it. I click to add an account, the font display of QQ fails on M1, but successed on M2. By use WINEDEBUG=+relay,I find when text show on M2, APPs called API:ScriptTextOut,and then text show successed. But on M1, APPs called API:ExtTextOutW, and then text show fails. I just started to suspect that QQ has different versions installed on different machines, so I packaged all the files of QQ installed on the virtual machine into a zip file, and then took this file to the physical machine to run, but the text still cannot be show on the physical machine. I don't know why QQ calls different APIs on the physical machine and the virtual machine to output text, so I'm asking for your help. What channel should I use to check my environment?nls?locale? 「Reproduce Problem」 The picture(how_to_..._proble,.png) shows the operation process QQ downloardURL:https://im.qq.com/download QQ Version:9.6.7 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53812 399989567(a)qq.com changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 |P1 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53812 --- Comment #1 from 399989567(a)qq.com --- I think even use ExtTextOutW the text should be displayed normally -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53812 --- Comment #2 from 399989567(a)qq.com --- I find in dlls/gdi32/"BOOL WINAPI ExtTextOutW" successfully got the
str = L"\542f\7528\591a\5e10\53f7\767b\5f55\540e\ff0c\4f60\7684\53f7\7801\5c06\88ab\8bbe\7f6e\6210\8bb0\4f4f\5bc6\7801\3002" count = 23
But after BIDI_Reorder processing,the str became NULL,and acquired by NtGdiExtTextOutW. Is this the reason why it can't be output normally? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53812 399989567(a)qq.com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Text does not show in Some |ExtTextOutW API wrong cause |APPs with native wine7.19 |Text does not show in Some | |APPs with native wine7.19 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53812 399989567(a)qq.com changed: What |Removed |Added ---------------------------------------------------------------------------- Version|7.19 |7.15 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53812 Jactry Zeng <jactry92(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://dldir1.qq.com/qqfil | |e/qq/PCQQ9.6.8/QQ9.6.8.2882 | |3.exe Keywords| |download -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53812 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|blocker |normal -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=53812 Rose Hellsing <rose@pinkro.se> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rose@pinkro.se --- Comment #3 from Rose Hellsing <rose@pinkro.se> --- It looks like the download URL you gave isn't valid anymore, and I was only able to find QQ version 9.9 from their website, which doesn't match the attached screenshot. Do you have any other way to reproduce it or know where to get the older QQ version? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=53812 LingM <lingm+winebz@posteo.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lingm+winebz@posteo.org --- Comment #4 from LingM <lingm+winebz@posteo.org> --- Created attachment 81327 --> http://bugs.winehq.org/attachment.cgi?id=81327 Error message with Wine 11.12 The Wayback Machine has that URL archived: https://web.archive.org/web/20221023192444/https://dldir1.qq.com/qqfile/qq/P...
$ sha1sum QQ9.6.8.28823.exe 0524d992de0819e06c7faaf2d071738021ad4741 QQ9.6.8.28823.exe $ du -h QQ9.6.8.28823.exe 190M QQ9.6.8.28823.exe
Although attempting to start it with Wine 11.12 only shows what might be an error message consisting of tofu for me. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=53812 --- Comment #5 from LingM <lingm+winebz@posteo.org> --- Created attachment 81331 --> http://bugs.winehq.org/attachment.cgi?id=81331 Error message with Wine 11.12 - non-tofu The tofu in the message can be resolved with "winetricks cjkfonts". According to Google translate it says: "The installation package may have been illegally modified, causing the installation to fail. Please download the latest installation package from the official website and reinstall." -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=53812 --- Comment #6 from Rose Hellsing <rose@pinkro.se> --- Sounds like a new bug, same error for me on wine, but works on windows. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=53812 --- Comment #7 from 399989567@qq.com --- (In reply to Rose Hellsing from comment #6)
Sounds like a new bug, same error for me on wine, but works on windows.
This is a problem I submitted in 2022, and I solved it a few days after submitting it. Essentially, this is a bug in API implementation. I am aware that this is a bug, but because too much time has passed, I cannot remember which API it is specifically. I only remember that the reason was that a variable with a marked number of lines had its value incorrectly modified in the corresponding function, causing the function to enter a dead loop. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=53812 Ken Sharp <imwellcushtymelike@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL|https://dldir1.qq.com/qqfil |https://web.archive.org/web |e/qq/PCQQ9.6.8/QQ9.6.8.2882 |/20221023192444/https://dld |3.exe |ir1.qq.com/qqfile/qq/PCQQ9. | |6.8/QQ9.6.8.28823.exe -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=53812 --- Comment #8 from Rose Hellsing <rose@pinkro.se> ---
and I solved it a few days after submitting it. Essentially, this is a bug in API implementation.
Sorry do you mean the issue with QQ not properly launching (what LingM said) or the original issue with the text not being rendered properly? I was referring to QQ not properly launching, because of that it doesn't seem to be possible to even get to the part where the text issue appears. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
WineHQ Bugzilla -
WineHQ Bugzilla