Alexandre Julliard : wineps: Fix the font escapement when coordinates are being mirrored.

Alexandre Julliard julliard at winehq.org
Fri Nov 4 12:17:34 CDT 2011


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Nov  4 16:08:29 2011 +0100

wineps: Fix the font escapement when coordinates are being mirrored.

---

 dlls/wineps.drv/download.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/wineps.drv/download.c b/dlls/wineps.drv/download.c
index a09f97a..6996205 100644
--- a/dlls/wineps.drv/download.c
+++ b/dlls/wineps.drv/download.c
@@ -274,6 +274,7 @@ BOOL PSDRV_WriteSetDownloadFont(PHYSDEV dev)
 
     if(GetGraphicsMode(dev->hdc) == GM_COMPATIBLE)
     {
+        if (xform.eM22 < 0) physDev->font.escapement = -physDev->font.escapement;
         xform.eM11 = xform.eM22 = fabs(xform.eM22);
         xform.eM21 = xform.eM12 = 0;
     }




More information about the wine-cvs mailing list