patch for underline and strikeout text in xrender

Huw D M Davies h.davies1 at
Wed Aug 27 17:28:37 CDT 2003

On Wed, Aug 27, 2003 at 06:12:44PM -0400, Dimitrie O. Paun wrote:
> On Wed, 27 Aug 2003, Huw D M Davies wrote:
> > Actually you want to use the otmsUnderscoreSize,
> > otmsUnderscorePosition, otmsStrikeoutSize and otmsStrikeoutPosition
> > members of OUTLINETEXTMETRIC, rather than hard coding those 2s and 3.5s.
> > 
> > You may also want to think about what happens when the text is rotated :)
> These are good points. But having common code makes all this a bit easier
> to handle. I just made a trivial simplification, I don't pretend to 
> understand the problem. :)

True, they were really comments for Dave.  Your simplification however
doesn't work if both lfUnderline and lfStrikeout are set...


More information about the wine-devel mailing list