gdi32: Fix underline and strikeout for clipped to the rectangle text
Alexandre Julliard
julliard at winehq.org
Tue May 4 11:34:41 CDT 2010
Ilya Shpigor <shpigor at etersoft.ru> writes:
> 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.
That's of course not sufficient for correct clipping.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list