http://bugs.winehq.org/show_bug.cgi?id=13156
Peter-Jan Roes PeterJanRoes@chartasoftware.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |PeterJanRoes@chartasoftware | |.com
--- Comment #6 from Peter-Jan Roes PeterJanRoes@chartasoftware.com 2009-09-10 13:20:01 --- It looks like I have the same problem but instead I call the Windows API directly instead of using the Delphi wrappers. For me the following two operations create inconsistent results on Windows and Wine:
* SetBkMode(DeviceContext, TRANSPARENT); * ExtTextOut(DeviceContext, X, Y, ETO_OPAQUE, nil, Text, Length(Text), nil);
On Windows text is rendered with a transparent background and on Wine text is rendered using an opaque background. It seems like in Windows SetBkMode overrides the ETO_OPAQUE parameter and on Wine it is the other way around.