http://bugs.winehq.org/show_bug.cgi?id=18120
--- Comment #42 from Hans Leidekker hans@meelstraat.net 2009-12-11 02:58:17 --- Created an attachment (id=25167) --> (http://bugs.winehq.org/attachment.cgi?id=25167) hack: Disable scalable font check in WineEngGetCharABCWidths.
Qt calls GetCharABCWidthsFloat with a non-scalable font selected. This succeeds on Windows but doesn't on Wine because we implement it on top of GetCharABCWidths, which rejects non-scalable fonts.
With this hack applied the minimal test case shows text. The right fix is probably to write a WineEngGetCharABCWidthsFloat function and forward GetCharABCWidthsFloat to it.