gdi32/tests: test GetTextExtentExPoint behavior with zero and negative max extent values

Thomas Faber thfabba at
Sun Oct 23 04:41:40 CDT 2011

As discovered by my riched20 experience, GetTextExtentExPoint treats
negative max_extent values specially and probably casts them to an
unsigned type.
Additionally, the Ansi version fails for values less than -1.

These tests demonstrate that, with todo_wine added where behavior
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-gdi32-tests-test-GetTextExtentExPoint-behavior-with-.patch
URL: <>

More information about the wine-patches mailing list