http://bugs.winehq.org/show_bug.cgi?id=59092 Bug ID: 59092 Summary: Unicode win32 labels displayed as tofu Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: dwrite Assignee: wine-bugs(a)list.winehq.org Reporter: navidmafi2006(a)gmail.com Distribution: --- Created attachment 79882 --> http://bugs.winehq.org/attachment.cgi?id=79882 MCVE for the unicode messagebox issue Summary: Unicode does not render correctly in message boxes and some other win32 labels even with all Segoe fonts copied from a Windows install. A brief MCVE is attached (source-encoding-agnostic) that shows the problem by rendering a message box. Of course it renders just fine on Windows 10. I originally encountered this when a Cheat Engine cheat table used Unicode headers and emojis for purely aesthetic purposes. Take for example the symbol "????" which is U+1D412: MATHEMATICAL BOLD CAPITAL S I could find out that the only font in a proper Windows install that *does* include that character is `seguisym.ttf`. I used such one liner to confirm this: ``` python3 -c "from fontTools.ttLib import TTFont; import sys; cmap=TTFont(sys.argv[1]).getBestCmap(); print(cmap.get(0x1D412,'MISSING'))" EXAMPLEFONT.ttf ``` Thus, as a workaround, I copied all seg* fonts to my /usr/share/fonts from a Windows install, did a `wineboot -u`, and then tried using the following crude registry modification to force the symbol font. As a result, shell font did change to Segoe, but the math symbols still rendered as tofu: ``` Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes] "MS Shell Dlg"="Segoe UI Symbol" "MS Shell Dlg 2"="Segoe UI Symbol" "Tahoma"="Segoe UI Symbol" "Segoe UI"="Segoe UI Symbol" "Segoe UI Symbol"="Segoe UI Symbol" "Segoe UI Emoji"="Segoe UI Symbol" ``` I also tried setting winecfg's "Message Box" configuration to use Segoe UI Symbol with no change in result. Everything tested starting with clean wine-10.20 (Staging) prefixes. -- 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.