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

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


Hi,

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):
http://bugs.etersoft.ru/attachment.cgi?id=1678

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

-- 
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: <http://www.winehq.org/pipermail/wine-patches/attachments/20100430/3173ba40/attachment.patch>


More information about the wine-patches mailing list