https://bugs.winehq.org/show_bug.cgi?id=23921
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Created attachment 53044 --> https://bugs.winehq.org/attachment.cgi?id=53044 Reset fpu state in GetDCEx
It looks like the FPU state gets corrupted somehow, and that before that commit, resetting the attributes in GetDCEx had the side effect of resetting the FPU state.
The attached hack demonstrates this and fixes the issue for me. It's obviously not the correct fix.