http://bugs.winehq.org/show_bug.cgi?id=7571
------- Additional Comments From dmitry@codeweavers.com 2007-22-05 09:58 ------- The construct:
if (dwUnicode & ENUM_ALL_FAMILIES) ret = WineEngEnumFonts(plf, FONT_EnumInstance, (LPARAM)&fe32, TRUE); else ret = WineEngEnumFonts(plf, FONT_EnumInstance, (LPARAM)&fe32, FALSE);
can be further simplified to
ret = WineEngEnumFonts(plf, FONT_EnumInstance, (LPARAM)&fe32, (dwUnicode & ENUM_ALL_FAMILIES) != 0);
- if (enumFontFamilies) {
if (csi.ciCharset == SYMBOL_CHARSET)
elf.elfLogFont.lfCharSet = SYMBOL_CHARSET;
else continue;
csi.ciCharset = ntm.ntmTm.tmCharSet =
elf.elfLogFont.lfCharSet;
- }
This doesn't look right. Why do you allow only SYMBOL_CHARSET here?
I also managed to fix the Lotus Notes R5 issue - please see lines 89-101 of the patch file. No tests break, and Notes is happy again. :)
This should be investigated and fixed separately.