http://bugs.winehq.org/show_bug.cgi?id=10132
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |huw@codeweavers.com Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #2 from Dmitry Timoshkov dmitry@codeweavers.com 2007-10-22 06:18:59 --- Many thanks for the additional information.
trace:font:WineEngCreateFontInstance L"MS Sans Serif", h=12, it=0, weight=400,PandF=22, charset=0 orient 0 escapement 0
The application creates "MS Sans Serif" font with charset 0 and expects that GDI properly handles that (i.e. creates a font with RUSSIAN_CHARSET if the locale is set to Russian. Actually that's an application bug since it won't work if the locale is not a Russain one.)
The test under Windows shows that GDI not only abides the font name, but also sets charset to 204 (RUSSIAN_CHARSET). Wine for some reason chooses "Times New Roman", and that's where the bug is: if Wine would have chosen "MS Sans Serif" as requested, the things would start working automatically since bitmap fonts like "MS Sans Serif" are configured to be selected according to current locale (sserifer.fon in this case).
Adding Huw to the cc: list since he is an expert in this area.