[PATCH 0/1] MR7549: gdiplus: Reset X position before drawing hotkey underlines.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57717 I can't test Illustrator CS6, but I was able to observe and retest the bug with a test application that uses HotkeyPrefixShow. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7549
From: Esme Povirk <esme(a)codeweavers.com> Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57717 --- dlls/gdiplus/graphics.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c index 3ad40a7de13..f6d79fb8356 100644 --- a/dlls/gdiplus/graphics.c +++ b/dlls/gdiplus/graphics.c @@ -6014,6 +6014,7 @@ static GpStatus draw_string_callback(struct gdip_format_string_info *info) GetOutlineTextMetricsW(info->hdc, sizeof(otm), &otm); + position.X = args->x + info->bounds->X / args->rel_width; underline_height = otm.otmsUnderscoreSize / args->rel_height; underline_y = position.Y - otm.otmsUnderscorePosition / args->rel_height - underline_height / 2; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/7549
participants (2)
-
Esme Povirk -
Esme Povirk (@madewokherd)