http://bugs.winehq.org/show_bug.cgi?id=33117
--- Comment #6 from Robert Walker forums@robertinventor.com 2013-03-04 05:56:14 CST --- That's true. I've changed the status back to unconfirmed.
Also, sorry, back again, spoke too soon. But this may give more information to help with understanding what is different.
It works fine under Wine with the ANSI_CHARSET.
But Windows requires the SYMBOL_CHARSET for this font. When I set it to ANSI_CHARSET in Windows it returns the wrong font.
With the code I posted above, I tried:
SpecialDebugLogLine("\n\nUsing SYMBOL_CHARSET for Bach\n\n"); TestCreateFontIndirectFor("Bach",SYMBOL_CHARSET); SpecialDebugLogLine("\n\nUsing ANSI_CHARSET for Bach\n\n"); TestCreateFontIndirectFor("Bach",ANSI_CHARSET);
This is the output in Windows:
" Using SYMBOL_CHARSET for Bach
***Test of CreateFontIndirect for Bach*** Font found: Bach
Using ANSI_CHARSET for Bach
***Test of CreateFontIndirect for Bach*** Font found: Small Fonts "
For now I've fixed it for my program by using lfFont.lfCharSet=is_Wine?ANSI_CHARSET:SYMBOL_CHARSET;
Any ideas why Windows would see it as a symbol font while Wine sees it as an Ansi font?