March 4, 2026
11:45 a.m.
Esme Povirk (@madewokherd) commented about dlls/gdiplus/tests/graphics.c:
expect(3, glyphs); expect(1, lines);
+ DestroyWindow(hwnd2); + hwnd2 = NULL; + rect.X = 5.0; + rect.Y = 5.0; + rect.Width = width_M_M; + rect.Height = 32000.0; + status = GdipMeasureString(graphics2, string2, -1, font, &rect, format_no_wrap, &bounds, &glyphs, &lines); + todo_wine expect(Ok, status);
We should also test a drawing function. It's unclear whether native succeeds here because GdipMeasureString doesn't need to draw anything (and therefore in theory doesn't need to call GetDC), or because native is ignoring failures from it. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10235#note_131306