[WIN32K]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Thu, 24 Feb 2011 00:48:01 +0000 (00:48 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Thu, 24 Feb 2011 00:48:01 +0000 (00:48 +0000)
Patch by Rafał Harabień :
- don't transform cordinates twice in GreExtTextOutW
- Fixes AbiWord toolbar

See issue #4811 for more details.

svn path=/trunk/; revision=50885

reactos/subsystems/win32/win32k/objects/freetype.c

index 21a0883..d67405b 100644 (file)
@@ -3248,8 +3248,6 @@ GreExtTextOutW(
         DestRect.right  = lprc->right;
         DestRect.bottom = lprc->bottom;
 
         DestRect.right  = lprc->right;
         DestRect.bottom = lprc->bottom;
 
-        IntLPtoDP(dc, (LPPOINT)&DestRect, 2);
-
         DestRect.left   += dc->ptlDCOrig.x;
         DestRect.top    += dc->ptlDCOrig.y;
         DestRect.right  += dc->ptlDCOrig.x;
         DestRect.left   += dc->ptlDCOrig.x;
         DestRect.top    += dc->ptlDCOrig.y;
         DestRect.right  += dc->ptlDCOrig.x;