Re: [05/17] gdiplus: GdipMeasureString should apply its internal scaling factors to layout rectangle.
Dmitry Timoshkov <dmitry(a)baikal.ru> writes:
--- dlls/gdiplus/graphics.c | 10 ++++++++-- dlls/gdiplus/tests/graphics.c | 29 ----------------------------- 2 files changed, 8 insertions(+), 31 deletions(-)
This fails here on 64-bit: ../../../../wine/tools/runtest -q -P wine -M gdiplus.dll -T ../../.. -p gdiplus_test.exe.so ../../../../wine/dlls/gdiplus/tests/graphics.c && touch graphics.ok graphics.c:3609: Test failed: Expected 100.000000, got 98.999786 graphics.c:3609: Test failed: Expected 100.000000, got 98.999786 graphics.c:3609: Test failed: Expected 100.000000, got 98.999786 graphics.c:3609: Test failed: Expected 100.000000, got 98.999786 make: *** [graphics.ok] Error 4 -- Alexandre Julliard julliard(a)winehq.org
Alexandre Julliard <julliard(a)winehq.org> wrote:
This fails here on 64-bit:
../../../../wine/tools/runtest -q -P wine -M gdiplus.dll -T ../../.. -p gdiplus_test.exe.so ../../../../wine/dlls/gdiplus/tests/graphics.c && touch graphics.ok graphics.c:3609: Test failed: Expected 100.000000, got 98.999786 graphics.c:3609: Test failed: Expected 100.000000, got 98.999786 graphics.c:3609: Test failed: Expected 100.000000, got 98.999786 graphics.c:3609: Test failed: Expected 100.000000, got 98.999786
Changing the precision should help I'd guess. I'll resend if manually adjusting the patch is not acceptable. -- Dmitry.
participants (2)
-
Alexandre Julliard -
Dmitry Timoshkov