https://bugs.winehq.org/show_bug.cgi?id=45400
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 66527 --> https://bugs.winehq.org/attachment.cgi?id=66527 test
Hi,
Thanks for the report. It looks like a valid issue, attaching a simple test here. I suspect this function is not meant to work for chars above 0xffff, which is common for GDI font API. One way to verify that is to create a font with 2 glyphs: .notdef and one for 0x10000 with distinct metrics, and see what GetGlyphOutlineW() returns. It's possible game is using single UINT as WCHAR buffer destination for mbtowc conversion, and that leaves higher word untouched.
Could be a good small task for someone starting to explore this section of Wine code.
P.S. could someone verify if bug occurs for current wine 5.x builds and Steam version of the game?