Module: wine Branch: master Commit: 03bc97a8c1af137a505ab71cf17a5c5556c6ad0d URL: https://gitlab.winehq.org/wine/wine/-/commit/03bc97a8c1af137a505ab71cf17a5c5...
Author: David Kahurani k.kahurani@gmail.com Date: Mon May 1 12:54:29 2023 +0300
gdiplus: Traverse and draw the whole string.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45698 Signed-off-by: David Kahurani k.kahurani@gmail.com
---
dlls/gdiplus/graphicspath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c index 2e30300e348..656069d7ffe 100644 --- a/dlls/gdiplus/graphicspath.c +++ b/dlls/gdiplus/graphicspath.c @@ -908,7 +908,7 @@ static GpStatus format_string_callback(HDC dc, if (y + bounds->Height * args->scale > args->maxY) args->maxY = y + bounds->Height * args->scale;
- for (i = index; i < length; ++i) + for (i = index; i < length + index; ++i) { GLYPHMETRICS gm; TTPOLYGONHEADER *ph = NULL, *origph;