gdi32: Fix underline and strikeout for clipped to the rectangle text

Ilya Shpigor shpigor at
Fri Apr 30 05:38:17 CDT 2010


There is bug with underline and strikeout font in ExtTextOutW.

The text is clipped if the ETO_CLIPPED flag have been set and rectangle 
smaller then needed for text. But underline and strikeout lines is drawed 
same as when text fit in the rectangle.

The problem screenshot (wine below):

I suggest to check if the y coordinate of line is smaller then text rectangle 

Best regards,
Ilya Shpigor.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-gdi32-Fix-underline-and-strikeout-for-clipped-to-the.patch
Type: text/x-diff
Size: 696 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list