[Wine-patches] gdi32: PATH_ExtTextOut function uses local coordinates (eterbugs #2608, #2614)
Konstantin Kondratyuk
=?iso-8859-1?q?kondratyuk_=CE=C1_etersoft=2Eru?=
Пн Апр 27 16:30:49 MSD 2009
--
Best regards,
Konstantin Kondratyuk.
----------- следующая часть -----------
From faa9cd0334b8f76cd6e27b35e95219e539dc5535 Mon Sep 17 00:00:00 2001
From: Konstantin Kondratyuk <kondratyuk на etersoft.ru>
Date: Mon, 27 Apr 2009 16:25:07 +0400
Subject: [PATCH] gdi32: PATH_ExtTextOut function uses local coordinates (eterbugs #2608, #2614)
---
dlls/gdi32/path.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/dlls/gdi32/path.c b/dlls/gdi32/path.c
index 3ad551e..99b2126 100644
--- a/dlls/gdi32/path.c
+++ b/dlls/gdi32/path.c
@@ -1429,7 +1429,6 @@ BOOL PATH_ExtTextOut(DC *dc, INT x, INT y, UINT flags, const RECT *lprc,
unsigned int idx;
double cosEsc, sinEsc;
LOGFONTW lf;
- POINT org;
HDC hdc = dc->hSelf;
INT offset = 0, xoff = 0, yoff = 0;
@@ -1450,8 +1449,6 @@ BOOL PATH_ExtTextOut(DC *dc, INT x, INT y, UINT flags, const RECT *lprc,
sinEsc = 0;
}
- GetDCOrgEx(hdc, &org);
-
for (idx = 0; idx < count; idx++)
{
static const MAT2 identity = { {0,1},{0,0},{0,0},{0,1} };
@@ -1467,7 +1464,7 @@ BOOL PATH_ExtTextOut(DC *dc, INT x, INT y, UINT flags, const RECT *lprc,
GetGlyphOutlineW(hdc, str[idx], GGO_GLYPH_INDEX | GGO_NATIVE, &gm, dwSize, outline, &identity);
- PATH_add_outline(dc, org.x + x + xoff, org.x + y + yoff, outline, dwSize);
+ PATH_add_outline(dc, x + xoff, y + yoff, outline, dwSize);
HeapFree(GetProcessHeap(), 0, outline);
--
1.6.1.3.GIT
Подробная информация о списке рассылки Wine-patches