http://bugs.winehq.org/show_bug.cgi?id=7571
------- Additional Comments From inckie@gmail.com 2007-10-05 15:56 ------- Created an attachment (id=6217) --> (http://bugs.winehq.org/attachment.cgi?id=6217&action=view) Preliminary workaround for Bug #7571
As the summary says, this is a *preliminary* workaround for this bug; I know its ugly, even semantically ugly, but since MSDN says EnumFontFamiliesEx()'s dwFlags parameter is reserved [1], it shouldnt break any applications.
I got the idea from MSDNs statement that the EnumFontFamilies() function is provided only for compatibility with 16-bit versions of Windows. Applications should use the EnumFontFamiliesEx() function. [2]
Anyway, almost all previously failing tests passed, except for a single hiccup: now the NULL family name doesnt enumerate any fonts for RUSSIAN_CHARSET, but I still havent been able to figure out why.
I repeat: I know this still needs some hammering. Any ideas, anyone? Dmitry?
[1] http://msdn2.microsoft.com/en-us/library/ms534005 [2] http://msdn2.microsoft.com/en-us/library/ms533966