http://bugs.winehq.org/show_bug.cgi?id=30798
--- Comment #5 from Alexey Loukianov mooroon2@mail.ru 2012-06-02 04:21:40 CDT --- (In reply to comment #4)
You may need to have another look at git blame output.
$ git blame -L 647,647 font.c 83e88af3 (Dmitry Timoshkov 2012-05-11 19:21:00 +0900 647) if (type != TRUETYPE_FONTTYPE)
Dmitry, did you mean that the line 1374 is one to be blamed instead of 647?
$ git blame -L 1374,1374 font.c 531219f8 (Vincent Povirk 2010-04-15 11:49:20 -0500 1374) if (type == RASTER_FONTTYPE)
Looking at the commit dates I could tell that your commit is much more recent and a general empirical rule is that the "recent changes are ones to cause troubles most of the times". Actually I had already written that I have no enough knowledge on topic, so it either you or Vincent (or someone else from devteam) who are competent enough to diagnose the problem and develop a proper fix.
I realize that this one bug is a minor per se, but having Wine's gdiplus implementation to behave more correctly when the host system have OTF fonts installed isn't a bad thing really.