https://bugs.winehq.org/show_bug.cgi?id=48507
Bug ID: 48507 Summary: osu! icons in the setting and music player are not being rendered Product: Wine Version: 5.0 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdiplus Assignee: wine-bugs@winehq.org Reporter: huupoke12@gmail.com Distribution: ---
Created attachment 66308 --> https://bugs.winehq.org/attachment.cgi?id=66308 Icons in the setting and the music player are not being drawn/rendered
Icons in the setting and the music player are not being drawn/rendered. I can still click on the setting and it jumps to that section. But I can't click on the music player (nothing happen).
https://bugs.winehq.org/show_bug.cgi?id=48507
huupoke12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |huupoke12@gmail.com
--- Comment #1 from huupoke12@gmail.com --- Created attachment 66309 --> https://bugs.winehq.org/attachment.cgi?id=66309 Vietnamese characters can't be drawn
And languages which have additional mark beside the existing character such as Vietnamese can't be drawn. The string in the attachment is "Quỳnh Như - Đơn Côi". Only some characters can be drawn.
https://bugs.winehq.org/show_bug.cgi?id=48507
huupoke12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://osu.ppy.sh/home/dow | |nload
https://bugs.winehq.org/show_bug.cgi?id=48507
Torge Matthies openglfreak@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |openglfreak@googlemail.com
--- Comment #2 from Torge Matthies openglfreak@googlemail.com --- Install GDI+ and the Meiryo font into your prefix (winetricks verbs gdiplus and meiryo). See the AppDB page for osu!, specifically the Troubleshooting section.
https://bugs.winehq.org/show_bug.cgi?id=48507
--- Comment #3 from Nguyen Chinh Huu huupoke12@gmail.com --- Yes, I'm aware of that workaround, but it should be reported since it is a Wine's bug. Using Windows's native one is just a workaround (And by the way, Chinese and Korean characters won't be rendered with that Meiryo font).
https://bugs.winehq.org/show_bug.cgi?id=48507
--- Comment #4 from Vincent Povirk madewokherd@gmail.com --- This should probably be two separate bugs. Does native gdiplus work around the icons?
I'm guessing the text doesn't render because we're not able to use a fallback font for characters that aren't in the selected one.
https://bugs.winehq.org/show_bug.cgi?id=48507
--- Comment #5 from Nguyen Chinh Huu huupoke12@gmail.com --- Which language's characters are you referring to? If Vietnamese, so yes. Using Windows's native GDI+ makes the icons and Vietnamese characters appear properly. But it will make the CJK not appearing unless you have Microsoft Fonts (which I don't like using them because they are not as good as the open fonts and it's not legal to use them outside of Windows). So I think Windows's native GDI+ checks the fonts for the checksum or digital signature, which not accepting foreign fonts. The built-in GDI+ accept any fonts so I can install them (CJK Fonts) with winetricks and get them render properly.
https://bugs.winehq.org/show_bug.cgi?id=48507
--- Comment #6 from Nguyen Chinh Huu huupoke12@gmail.com --- The 5.1 release has resolved the problems with Vietnamese (and Greek) characters. And the Japanese characters seem to be rendered better too (matching with the installed Japanese fonts)
https://bugs.winehq.org/show_bug.cgi?id=48507
--- Comment #7 from Nguyễn Chính Hữu huupoke12@gmail.com --- By tracing gdiplus with WINEDEBUG, it seems that osu! is using Font Awesome (I think it's Font Awesome 4) to display the icons. The version 4 make use of Unicode private use area to store the glyphs (https://fontawesome.com/v4.7.0/cheatsheet/).
So I have tried downloading Font Awesome (4.7.0), changed its name to Tahoma and placed it in Linux's font directory (in order to make the in-game chat use Font Awesome). Then I have copied the characters from the above page and pasted them into the in-game chat, they does not show up (just invisible, no tofu, no character space) but they still take up "backspace" keys to delete (which means if I pasted an icon after a normal character and press "backspace" to delete, it delete the icon first (even invisible), then the normal character. But when I tested in Wine Notepad and Notepad++, they shown up normally.
So I guess it's maybe gdiplus doesn't handle that Unicode range properly, or maybe something related to reading the font metrics (such as displaying glyphs at extremely small size so they're just invisible), or something else.
By the way, in the #6 comment, it's not "fixed". It happened because the game now doesn't use its custom font (Aller) to display the UI anymore, instead it use Tahoma, and Tahoma have those characters so those characters are displayed. Reverting the file `gdiplus/font.c` to its Wine 5.0 version make it behaves like before, so I would call that a regression.
https://bugs.winehq.org/show_bug.cgi?id=48507
Nguyễn Chính Hữu huupoke12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #8 from Nguyễn Chính Hữu huupoke12@gmail.com --- Fixed by https://source.winehq.org/git/wine.git/commit/43e2563f449372a0f7ff72052bda56... and https://source.winehq.org/git/wine.git/commit/a5540798605b3ef9abcf654bc28d9d...
https://bugs.winehq.org/show_bug.cgi?id=48507
Nguyễn Chính Hữu huupoke12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |a5540798605b3ef9abcf654bc28 | |d9dd8d8736e53
https://bugs.winehq.org/show_bug.cgi?id=48507
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.10.
https://bugs.winehq.org/show_bug.cgi?id=48507
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0.x
https://bugs.winehq.org/show_bug.cgi?id=48507
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0.x |---
--- Comment #10 from Michael Stefaniuc mstefani@winehq.org --- Removing the 6.0.x milestone from bug fixes included in 6.0.2.