Ilya Shpigor shpigor@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.