[Bug 10132] bad cyrillic font rendering

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Oct 22 06:19:00 CDT 2007


http://bugs.winehq.org/show_bug.cgi?id=10132


Dmitry Timoshkov <dmitry at codeweavers.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |huw at codeweavers.com
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




--- Comment #2 from Dmitry Timoshkov <dmitry at 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.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list