https://bugs.winehq.org/show_bug.cgi?id=37994
--- Comment #2 from e298903@trbvm.com --- (In reply to Nikolay Sivov from comment #1)
Are you referring to this commit http://source.winehq.org/git/wine.git/commit/ bbf3e8621ab2168032979489300122e54751b2c9 ?
It could be, I'm not familiar with git and I don't know how to pinpoint the change history, but the whole GetTextExtentExPoint function seems to have been rewritten going to wine version 1.5.20, when the parameter list for this function was reduced.
Fixing this should also close bug 34226, which mentions the issue together with an unrelated crashing issue.