gdi: Fix GetTextExentExPointW to return values consistent with GetTextExtentPointW

Troy Rollo wine at troy.rollo.name
Mon May 1 22:49:22 CDT 2006


GetTextExtentExPointW currently calculates extents character by character, 
which can result in it returning a horizontal extent that does not match what 
GetTextExtentPointW would return. This can be a problem where code (such as 
we have in riched20) expects the two to match (that expectation being 
reasonable). The attached patch makes GetTextExtentExPointW return the same 
values GetTextExtentPointW would return.

ChangeLog:
	gdi: Fix GetTextExentExPointW to return values consistent with
	GetTextExtentPointW
-- 
Troy Rollo - wine at troy.rollo.name
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gte.diffs
Type: text/x-diff
Size: 995 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060502/2ed79601/gte.diff


More information about the wine-patches mailing list