[Bug 8177] Solar Fire v5: Font only displays the character 0x80

Wine Bugs wine-bugs at winehq.org
Wed Jul 18 06:54:21 CDT 2007


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





------- Additional Comments From dmitry at codeweavers.com  2007-18-07 06:54 -------
> I compiled the program below, and its output was:
> 
> cs = 0, fs.fsCsb[0] = 2000009f

That's because you don't initialize LOGFONT except font name. If I do
just AddFontResource("etsans.fon"); and look at the font charset in enumed
font structs from EnumFontFamiliesEx I get SYMBOL_CHARSET.

It appears that explicit initialization of charset in LOGFONT to something
different from SYMBOL_CHARSET leads to the fact that gdi32 in Windows uses
that different charset for internal A<->W conversions.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list