gdi32: Add OEM charset for processing in TranslateCharsetInfo

Ilya Shpigor shpigor at etersoft.ru
Wed Jan 20 06:50:32 CST 2010


Hi,

Some details about this patch:

The getting charset through the GetTextCharset works with mistakes for OEM 
charset. The problem exist in SelectObject where the gdi font is created from 
the logical font. Wine try to get information about the charset in this gdi 
font creation through TranslateCharsetInfo, but don't able to do it.  This 
function works with predefined array of supported charsets and code pages. 
OEM charset is absent in this array.

Full list of this array in MSDN:
http://msdn.microsoft.com/en-us/library/dd317754%28VS.85%29.aspx

This patch add the necessary items to this array.

-- 
Best regards,
Ilya Shpigor.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-gdi32-Add-OEM-charset-for-processing-in-TranslateCha.patch
Type: text/x-diff
Size: 3376 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100120/dae618b0/attachment-0001.patch>


More information about the wine-patches mailing list