https://bugs.winehq.org/show_bug.cgi?id=53089
Bug ID: 53089 Summary: PotPlayer EULA unreadable during install Product: Wine Version: 7.9 Hardware: x86-64 URL: https://t1.daumcdn.net/potplayer/PotPlayer/Version/Lat est/PotPlayerSetup.exe OS: Linux Status: NEW Keywords: download Severity: trivial Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: imwellcushtymelike@gmail.com Distribution: Ubuntu
Created attachment 72512 --> https://bugs.winehq.org/attachment.cgi?id=72512 Screenshot
The EULA presented during installation of PotPlayer is unreadable. All characters are replaced with "boxes": ▯ (See screenshot)
b7f14c493990b3c9981f1cd47c8cb189ce1a6966 PotPlayerSetup.exe
Tried "winetricks riched20 corefonts" but this did not help.
Console: 017c:fixme:imm:ImeSetActiveContext (0014A280, 0): stub 017c:fixme:imm:ImmReleaseContext (00020064, 0014A280): stub 016c:fixme:imm:ImeSetActiveContext (004B76B0, 1): stub 016c:fixme:imm:ImmReleaseContext (00030028, 004B76B0): stub
https://bugs.winehq.org/show_bug.cgi?id=53089
--- Comment #1 from Ken Sharp imwellcushtymelike@gmail.com --- Created attachment 72513 --> https://bugs.winehq.org/attachment.cgi?id=72513 Wine 7.9 +font [12.4 MiB]
https://bugs.winehq.org/show_bug.cgi?id=53089
--- Comment #2 from Rafał Mużyło galtgendo@o2.pl --- Well, this is on some level a locale problem.
Note for example this line:
0024:trace:font:font_SelectFont L"\00b8\00bc\00c0\00ba \00b0\00ed\00b5\00f1", h= -16, it=0, weight=700, PandF=32, charset=129 orient 0 escapement 0
While it's not obvious, this is nonsense and that's because the string should go L"\b8bc\c0ba \b0ed\b5f1".
Then there this:
0024:trace:font:NtGdiExtTextOutW 0x40100ab, 1, 18, 00003010, (null), L"\0000\000 0\0000\0000\0000\0000\0000\0000\0000\0002\0000\0000\0000\0002\0000\0000\0000\000 0\0002\0000\0000\0000\0000\0000\0000\0000", 26, 0x225aee8)
which likely is what is being 'displayed' in the eula box. So, add the channel with codepage conversions to the log.
https://bugs.winehq.org/show_bug.cgi?id=53089
--- Comment #3 from Ken Sharp imwellcushtymelike@gmail.com --- Created attachment 72516 --> https://bugs.winehq.org/attachment.cgi?id=72516 Wine 7.9 +font +nls [8.6 MiB]
The +nls trace shows the licence agreement to be in English, which really threw me. Right at the end though it mentions Korea..
"winetricks fakekorean" makes the EULA readable.
So is this a Bug 13829 dupe?
https://bugs.winehq.org/show_bug.cgi?id=53089
--- Comment #4 from Rafał Mużyło galtgendo@o2.pl ---
So is this a Bug 13829 dupe?
Going by what that part of winetricks does, as long as you did have a Korean font already installed before (I don't really see providing a specific font should be wine's job), I'd say it's more along the lines of what I've wrote in bug 52697 - font substitution in wine just isn't sufficiently complete.
Maintaining a hardcoded list of standard Windows fonts that potentially need substitution should fine, as long as you don't hardcode what it should be substituted to. Though my feelings are that wine would have to end with something similar to pango and that's beyond tricky - even now pango doesn't do certain things properly (for example maintain monospace across lines).
https://bugs.winehq.org/show_bug.cgi?id=53089
--- Comment #5 from Ken Sharp imwellcushtymelike@gmail.com --- No change in Wine 8.12. Won't keep updating until something changes (as it could be a while).