Transform correctly the coordinates.
authorFilip Navara <filip.navara@gmail.com>
Fri, 30 Dec 2005 01:28:29 +0000 (01:28 +0000)
committerFilip Navara <filip.navara@gmail.com>
Fri, 30 Dec 2005 01:28:29 +0000 (01:28 +0000)
svn path=/trunk/; revision=20453

reactos/subsys/win32k/objects/text.c

index 751e84e..602fe34 100644 (file)
@@ -1598,6 +1598,7 @@ NtGdiExtTextOut(
       DestRect.top    = SpecifiedDestRect.top    + dc->w.DCOrgY;
       DestRect.right  = SpecifiedDestRect.right  + dc->w.DCOrgX;
       DestRect.bottom = SpecifiedDestRect.bottom + dc->w.DCOrgY;
+      IntLPtoDP(dc, (LPRECT)&DestRect, 2);
       IntEngBitBlt(
          &BitmapObj->SurfObj,
          NULL,