Huw Davies : gdi32: Pass an lpDx array to the driver if the escapement is non-zero, so that the driver has access to the unrotated advance widths.

Alexandre Julliard julliard at wine.codeweavers.com
Thu May 31 08:33:46 CDT 2007


Module: wine
Branch: master
Commit: 3739b5f9950dae89f93bbe8fa9c370659aee6f7f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3739b5f9950dae89f93bbe8fa9c370659aee6f7f

Author: Huw Davies <huw at codeweavers.com>
Date:   Thu May 31 12:47:19 2007 +0100

gdi32: Pass an lpDx array to the driver if the escapement is non-zero, so that the driver has access to the unrotated advance widths.

---

 dlls/gdi32/font.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/gdi32/font.c b/dlls/gdi32/font.c
index 17fcfe6..fa9954d 100644
--- a/dlls/gdi32/font.c
+++ b/dlls/gdi32/font.c
@@ -1993,7 +1993,7 @@ BOOL WINAPI ExtTextOutW( HDC hdc, INT x, INT y, UINT flags,
     y = pt.y;
 
     char_extra = GetTextCharacterExtra(hdc);
-    if(char_extra || dc->breakExtra || breakRem || lpDx)
+    if(char_extra || dc->breakExtra || breakRem || lpDx || lf.lfEscapement != 0)
     {
         UINT i;
         SIZE tmpsz;




More information about the wine-cvs mailing list