gdi32: Add OEM charset for processing in TranslateCharsetInfo

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


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:

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: <>

More information about the wine-patches mailing list