http://bugs.winehq.org/show_bug.cgi?id=22109
--- Comment #8 from Wylda wylda@volny.cz 2010-05-17 07:08:04 --- (In reply to comment #7)
As workaround:
int sign = rect.top / abs(rect.top); y = rect->top + (rect.bottom - rect.top) / 2 - sign * size.cy / 2;
It's bad hack, DrawTextExW in metafile is not correct.
When this is in BiuTicker thread, i try to replace that code in dlls/user32/text.c and got :-/
wine: Unhandled division by zero at address 0x7eda99bc (thread 0009), starting debugger...