gdi32: Fix the text's charset error in obtaining from meta dc.

Log: get_dc_attr always failed for meta dc,so GdiGetCodePage always return CP_ACP. And GetTextCharset is similar to this situation. Finally, leading to an error result of text_mbtowc call by ExtTextOutA and an error result of METADC_ExtTextOut.

Signed-off-by: chenjiangyi chenjiangyi@uniontech.com Change-Id: Icb6a8d57848935bc5c1b3913c155148af43eca0d

Merge request reports

Loading