Underline and strikethrough support

Huw D M Davies h.davies1 at physics.ox.ac.uk
Sat Feb 8 11:31:16 CST 2003


On Wed, Feb 05, 2003 at 06:18:50PM -0500, Warren_Baird at cimmetry.com wrote:
> 
> 
> ChangeLog:
> 
>      Add support for underline and strikethrough font in XRender.
> 
> Description:
> 
>      Use lfUnderline or lfStrikeOut logical font field in
>      X11DRV_XRender_ExtTextOut to determine if we should draw a
>      line using TSXDrawLine across or under the font that just got
>      rendered.

Hi,

The problem with this code is that it won't work for rotated text.
Also the line widths and positions should be obtained using from
the OUTLINETEXTMETRICS structure.

Huw.



More information about the wine-devel mailing list