http://bugs.winehq.org/show_bug.cgi?id=7571
------- Additional Comments From inckie@gmail.com 2007-05-06 13:30 ------- Created an attachment (id=6628) --> (http://bugs.winehq.org/attachment.cgi?id=6628&action=view) Comparison of EnumFontFamilies()'s behavior with and without last patch
Dmitry Timoshkov wrote:
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.
I did that, and I'm attaching a set of logs and diffs showing the effects of my patch.
I noticed I forgot to mention where I got the idea for the patch, so here it goes: upon inspecting the tests output both on Windows and on Wine I saw that, discarding repetitions, EnumFontFamilies() enumerated the charsets for <empty> and DEFAULT_CHARSET in ascending order on the former, but in descending order in the latter. (Moreover, I saw that all the fonts and charsets were there, so my best guess was that Notes was relying on some other ordering - and bingo!)
I think enum-test_compare-with-and-without-patch_snip.diff and enum-test_compare-with-and-without-patch_snip-cut.diff should make things clearer.
So, what do you think?